Pass max_tokens to moonshot provider (#6316)
Co-authored-by: Kevin Bond <kevin@Mac.hsd1.ca.comcast.net>
This commit is contained in:
1 parent
2687ae149f
commit
4b450f4488
2 files changed
+6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"claude-dev": patch
|
||||
---
|
||||
|
||||
Pass max_tokens value to moonshot provider
|
||||
@@ -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 },
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user