Pass max_tokens to moonshot provider (#6316)

Co-authored-by: Kevin Bond <kevin@Mac.hsd1.ca.comcast.net>
This commit is contained in:
canvrnoandKevin Bond authored and GitHub committed 2025-09-18 14:21:26 -07:00
1 parent 2687ae149f
commit 4b450f4488
2 files changed
+6

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Pass max_tokens value to moonshot provider
+1
View File
@@ -49,6 +49,7 @@ export class MoonshotHandler implements ApiHandler {
model: model.id,
messages: openAiMessages,
temperature: 0,
max_tokens: model.info.maxTokens,
stream: true,
stream_options: { include_usage: true },
})