diff --git a/.changeset/proud-cougars-kick.md b/.changeset/proud-cougars-kick.md new file mode 100644 index 00000000..8f913aa9 --- /dev/null +++ b/.changeset/proud-cougars-kick.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +remove temperature settings in z.ai models diff --git a/src/core/api/providers/zai.ts b/src/core/api/providers/zai.ts index fabffecf..cf251c43 100644 --- a/src/core/api/providers/zai.ts +++ b/src/core/api/providers/zai.ts @@ -85,7 +85,6 @@ export class ZAiHandler implements ApiHandler { messages: openAiMessages, stream: true, stream_options: { include_usage: true }, - temperature: 0, }) for await (const chunk of stream) {