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

groq[patch]: warn if model is not specified #30161

Merged
merged 3 commits into from
Mar 7, 2025
Merged

groq[patch]: warn if model is not specified #30161

merged 3 commits into from
Mar 7, 2025

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Mar 7, 2025

Groq is retiring mixtral-8x7b-32768, which is currently the default model for ChatGroq, on March 20. Here we emit a warning if the model is not specified explicitly.

A version 0.3.0 will be released ahead of March 20 that removes the default altogether.

ccurme added 3 commits March 7, 2025 11:31
Copy link

vercel bot commented Mar 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Mar 7, 2025 4:56pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs labels Mar 7, 2025
@ccurme ccurme merged commit 74e7772 into master Mar 7, 2025
30 checks passed
@ccurme ccurme deleted the cc/groq_warn branch March 7, 2025 20:21
ccurme added a commit that referenced this pull request Mar 18, 2025
The default model for `ChatGroq`, `"mixtral-8x7b-32768"`, is being
retired on March 20, 2025. Here we remove the default, such that model
names must be explicitly specified (being explicit is a good practice
here, and avoids the need for breaking changes down the line). This
change will be released in a minor version bump to 0.3.

This follows #30161
(released in version 0.2.5), where we began generating warnings to this
effect.

![Screenshot 2025-03-18 at 10 33
27 AM](https://github.com/user-attachments/assets/f1e4b302-c62a-43b0-aa86-eaf9271e86cb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant