fix(models): update Cerebras and Groq model definitions#3038
Merged
waleedlatif1 merged 1 commit intostagingfrom Jan 28, 2026
Merged
fix(models): update Cerebras and Groq model definitions#3038waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile OverviewGreptile SummaryUpdated model definitions for Cerebras and Groq providers to align with current API documentation. Changes include: Cerebras:
Groq:
All Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant App
participant Models as models.ts
participant API as LLM Provider API
Note over Models: Model Definition Updates
User->>App: Select LLM model
App->>Models: Get available models
alt Cerebras Provider
Models-->>App: Return updated models<br/>(gpt-oss-120b as default,<br/>qwen-3-32b, qwen-3-235b, zai-glm-4.7)
App->>API: Call with updated model ID<br/>(e.g., cerebras/llama3.1-8b)
API-->>App: Process request with correct pricing
else Groq Provider
Models-->>App: Return updated models<br/>(gpt-oss-safeguard-20b, qwen3-32b,<br/>deepseek-r1-distill-qwen-32b)
App->>API: Call with corrected model ID<br/>(e.g., groq/meta-llama/llama-4-scout-17b-16e-instruct)
API-->>App: Process request with corrected pricing
end
Note over Models,API: Pricing calculations now<br/>reflect current API costs
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist