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
Currently, there's an inconsistency between how model configuration is handled in the main DAILA operations versus the sidebar chat UI.
Current Behavior
Main DAILA operations (like function summarization, variable renaming, etc.) properly use custom model and endpoint configurations from DAILAConfig
The sidebar chat UI bypasses these configurations and directly uses litellm with just the model name, ignoring any custom endpoint settings
Expected Behavior
The sidebar chat should respect the same configuration as the main DAILA operations, including:
Custom endpoints
Custom model configurations
Any other LiteLLM-related settings from DAILAConfig
Technical Details
The issue is in dailalib/llm_chat/llm_chat_ui.py where LLMThread.run() directly uses litellm without accessing the configuration from the parent LiteLLMAIAPI instance:
Modify the chat UI to use the same configuration mechanism as the main DAILA operations by:
Passing the full configuration from LiteLLMAIAPI to the chat UI
Using the same completion call pattern in LLMThread as used in the main operations
Ensuring configuration changes are immediately reflected in both the main operations and chat UI
The text was updated successfully, but these errors were encountered:
(Issue descrption generated by Claude)
Currently, there's an inconsistency between how model configuration is handled in the main DAILA operations versus the sidebar chat UI.
Current Behavior
Expected Behavior
The sidebar chat should respect the same configuration as the main DAILA operations, including:
Technical Details
The issue is in
dailalib/llm_chat/llm_chat_ui.py
whereLLMThread.run()
directly uses litellm without accessing the configuration from the parentLiteLLMAIAPI
instance:Suggested Fix
Modify the chat UI to use the same configuration mechanism as the main DAILA operations by:
Passing the full configuration from LiteLLMAIAPI to the chat UI
Using the same completion call pattern in LLMThread as used in the main operations
Ensuring configuration changes are immediately reflected in both the main operations and chat UI
The text was updated successfully, but these errors were encountered: