Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add grok-4 and groq kimi-k2 models#2235

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DouweM merged 13 commits intopydantic:mainfromzachmayer:feat/grok-groq-models
Jul 18, 2025

Conversation

zachmayer
Copy link
Contributor

@zachmayerzachmayer commentedJul 17, 2025
edited by DouweM
Loading

Extracted from#2211 for easier review.
Closes#2187

This PR adds support for new Grok and Groq models:

  • Add grok:grok-4 as a known model name
  • Add grok-4 plain model name support (with provider inference)
  • Add groq:moonshotai/kimi-k2-instruct to Groq preview models
  • Add test cases for grok model variants
  • Update CLI test to include grok provider

Both grok and groq models use existing OpenAI-compatible infrastructure, so this is primarily adding model names and test coverage.

- Add grok:grok-4 as a known model name- Add grok-4 plain model name support (provider inference)- Add groq:moonshotai/kimi-k2-instruct to Groq preview models- Add test cases for grok model variants- Update CLI test to include grok provider
@zachmayer
Copy link
ContributorAuthor

@DouweM the groq/grok changes are ready to review

@zachmayer
Copy link
ContributorAuthor

Would it make sense to make this PR just for the grok models? and then move thegroq:moonshot/ stuff to a new PR or to#2211 ?

@zachmayer
Copy link
ContributorAuthor

Ok I think I responded to all the feedback here. Let me know how things look or if I need other changes.

@DouweMDouweM changed the titlefeat: add grok-4 and groq kimi-k2 model supportAdd grok-4 and groq kimi-k2 modelsJul 18, 2025
@DouweMDouweM merged commit3c43c2d intopydantic:mainJul 18, 2025
18 checks passed
@DouweM
Copy link
Contributor

@zachmayer Thanks Zach!

@zachmayer
Copy link
ContributorAuthor

Awesome thank you!

@zachmayerzachmayer deleted the feat/grok-groq-models branchJuly 18, 2025 15:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@DouweMDouweMDouweM requested changes

Assignees

@DouweMDouweM

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Official Support For XAI models (namely Grok 4)
2 participants
@zachmayer@DouweM

[8]ページ先頭

©2009-2025 Movatter.jp