We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c6870 commit 73bb7cbCopy full SHA for 73bb7cb
src/api/providers/claude-code.ts
@@ -133,7 +133,7 @@ export class ClaudeCodeHandler extends BaseProvider implements ApiHandler {
133
const modelInfo: ModelInfo = { ...claudeCodeModels[id] }
134
135
// Override maxTokens with the configured value if provided
136
- if (this.options.claudeCodeMaxOutputTokens) {
+ if (this.options.claudeCodeMaxOutputTokens !== undefined) {
137
modelInfo.maxTokens = this.options.claudeCodeMaxOutputTokens
138
}
139
0 commit comments