Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit b2dba30

Browse files
Add temperature=0.9 and top_p=0.95 to zai-glm-4.7 model
1 parent c56f0f4 commit b2dba30

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/glm-47-temperature.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Set default temperature to 1.0 for Cerebras zai-glm-4.7 model

packages/types/src/providers/cerebras.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export const cerebrasModels = {
1111
contextWindow: 131072,
1212
supportsImages: false,
1313
supportsPromptCache: true,
14+
supportsTemperature: true,
15+
defaultTemperature: 1.0,
1416
inputPrice: 0,
1517
outputPrice: 0,
1618
description:

0 commit comments

Comments
 (0)