Skip to content

fix: Update model_used reference after current_model_used changes#521

Open
hassan11196 wants to merge 1 commit intoarchi-physics:mainfrom
hassan11196:fix-get_chat_response
Open

fix: Update model_used reference after current_model_used changes#521
hassan11196 wants to merge 1 commit intoarchi-physics:mainfrom
hassan11196:fix-get_chat_response

Conversation

@hassan11196
Copy link
Copy Markdown
Collaborator

small bugfix to keep get_chat_response functional

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a broken model_used reference in the chat API response payload so get_chat_response continues to work after current_model_used moved to the ChatWrapper.

Changes:

  • Update get_chat_response to read model_used from self.chat.current_model_used instead of self.current_model_used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@juanpablosalas
Copy link
Copy Markdown
Collaborator

Hi @hassan11196 ,

Recently PR #524 was merged to fix thread safe parameters (current_model_used). With these changes, is this PR still relevant?

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.

3 participants