You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(custom-agent): refactor to use LlmProvider for chat processing #51
The chat service has been refactored to use a new LlmProvider class for creating and interacting with the language model. This change simplifies the code by removing the need for direct instantiation of the LlmFactory and instead relying on the provider to create and manage the language model instance. The provider also allows for easier integration of custom logic or configuration specific to the project. Additionally, the chat processor now uses a StringBuilder to accumulate the chat response when using the stream response action, and the response is appended to the local message history of the LlmProvider. This ensures that the chat history is correctly maintained and can be accessed for future reference.
0 commit comments