-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for Cerebras to litellm_caller #110
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -38,4 +38,9 @@ models: | |||||
| model_url: "https://api.openai.com/v1/chat/completions" | ||||||
| model_name: "gpt-4.1-nano" | ||||||
| api_key: "${OPENAI_API_KEY}" | ||||||
| compliance_level: "External" | ||||||
| compliance_level: "External" | ||||||
| cerebras-gpt-oss-120b: | ||||||
| model_url: "https://api.cerebras.ai/v1" | ||||||
| model_name: "gpt-oss-120b" | ||||||
|
||||||
| model_name: "gpt-oss-120b" | |
| model_name: "llama3.1-70b" |
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.
The
model_urlfor Cerebras appears incomplete compared to other providers. OpenAI uses the full endpoint pathhttps://api.openai.com/v1/chat/completions, but Cerebras only specifieshttps://api.cerebras.ai/v1.If LiteLLM's Cerebras provider requires the full endpoint path (like
/v1/chat/completions), this configuration may not work correctly. Please verify thathttps://api.cerebras.ai/v1is the correct format for LiteLLM's Cerebras integration, or update it to include the complete endpoint path if needed.