Skip to content

refactor(llm): convert LlmProvider to non-singleton #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

iptton
Copy link
Collaborator

@iptton iptton commented Jan 31, 2025

  • Changed LlmFactory from a class to a singleton object to simplify instantiation.
  • Updated all references to use LlmFactory.create() instead of LlmFactory() or LlmFactory.instance.create().
  • Removed unnecessary project parameter from testLLMConnection().
  • Added LLMProvider2 for improved LLM session management and testing.

- Changed LlmFactory from a class to a singleton object to simplify instantiation.
- Updated all references to use LlmFactory.create() instead of LlmFactory() or LlmFactory.instance.create().
- Removed unnecessary project parameter from testLLMConnection().
- Added LLMProvider2 for improved LLM session management and testing.
@iptton iptton changed the title refactor(llm): convert LlmFactory to singleton object refactor(llm): convert LlmProvider to non-singleton Jan 31, 2025
@phodal phodal merged commit a531c04 into unit-mesh:master Jan 31, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants