mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
feat(types): add zai-glm-4.7 to Cerebras
- Add zai-glm-4.7 model metadata to Cerebras provider\n- Update zai-glm-4.6 description to note deprecation\n- Add changeset for @roo-code/types
This commit is contained in:
parent
3074ccc278
commit
e3e5a6a247
2 changed files with 18 additions and 1 deletions
5
.changeset/add-zai-glm-4-7.md
Normal file
5
.changeset/add-zai-glm-4-7.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@roo-code/types": patch
|
||||
---
|
||||
|
||||
Add zai-glm-4.7 model to Cerebras provider
|
||||
|
|
@ -15,7 +15,19 @@ export const cerebrasModels = {
|
|||
defaultToolProtocol: "native",
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
description: "Highly intelligent general purpose model with up to 1,000 tokens/s",
|
||||
description: "Fast general-purpose model on Cerebras (up to 1,000 tokens/s). To be deprecated soon.",
|
||||
},
|
||||
"zai-glm-4.7": {
|
||||
maxTokens: 16384, // Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
|
||||
contextWindow: 131072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
description:
|
||||
"Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks.",
|
||||
},
|
||||
"qwen-3-235b-a22b-instruct-2507": {
|
||||
maxTokens: 16384, // Conservative default to avoid premature rate limiting
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue