Skip to content
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

Fix model switch bug #298

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Fix model switch bug #298

merged 1 commit into from
Feb 17, 2024

Conversation

logancyang
Copy link
Owner

There's a bug when you trigger a copilot command, switch the model, and the following chat session fails.

It's caused by a missing update of the param. This is a quick small fix, a better way is to use dependency injection for langChainParams to ChatModelManager and ChainManager.

@logancyang logancyang merged commit 9666c7c into master Feb 17, 2024
2 checks passed
@logancyang logancyang deleted the fix-model-switch branch February 17, 2024 22:51
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.

1 participant