-
Notifications
You must be signed in to change notification settings - Fork 1k
Add support for Mistral and Codestral models #1707
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
Add support for Mistral and Codestral models #1707
Conversation
PR Description updated to latest commit (869a179)
|
PR Reviewer Guide 🔍(Review updated until commit 869a179)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
"mistral/mistral-small-latest": 8191, | ||
"mistral/mistral-medium-latest": 8191, | ||
"mistral/mistral-large-2407": 128000, | ||
"mistral/mistral-large-latest": 128000, | ||
"mistral/open-mistral-7b": 8191, | ||
"mistral/open-mixtral-8x7b": 8191, | ||
"mistral/open-mixtral-8x22b": 8191, | ||
"mistral/codestral-latest": 8191, | ||
"mistral/open-mistral-nemo": 128000, | ||
"mistral/open-mistral-nemo-2407": 128000, | ||
"mistral/open-codestral-mamba": 256000, | ||
"mistral/codestral-mamba-latest": 256000, | ||
"codestral/codestral-latest": 8191, | ||
"codestral/codestral-2405": 8191, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I referred to the following liteLLM links for information about the model and max tokens:
Cool, i want to run this fork locally in docker and i want to test it how to pass the codestral key ? |
/review |
Persistent review updated to latest commit 869a179 |
👍 |
@anislanguer
|
@dst03106 it doesnt work for me idk why :( it shows me this error |
i removed one of the pictures, as it contained personal information. Also, the configuration seems wrong. https://qodo-merge-docs.qodo.ai/usage-guide/changing_a_model/#mistral |
PR Type
Enhancement, Documentation
Description
Added support for Mistral and Codestral models.
Updated API key handling for Mistral and Codestral.
Documented usage of Mistral and Codestral models in the usage guide.
Changes walkthrough 📝
__init__.py
Added Mistral and Codestral models to configuration
pr_agent/algo/init.py
dictionary.
limits.
litellm_ai_handler.py
Added API key support for Mistral and Codestral
pr_agent/algo/ai_handlers/litellm_ai_handler.py
changing_a_model.md
Added documentation for Mistral and Codestral usage
docs/docs/usage-guide/changing_a_model.md