Skip to content

Commit 73bb7cb

Browse files
daniel-lxsCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 53c6870 commit 73bb7cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/claude-code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class ClaudeCodeHandler extends BaseProvider implements ApiHandler {
133133
const modelInfo: ModelInfo = { ...claudeCodeModels[id] }
134134

135135
// Override maxTokens with the configured value if provided
136-
if (this.options.claudeCodeMaxOutputTokens) {
136+
if (this.options.claudeCodeMaxOutputTokens !== undefined) {
137137
modelInfo.maxTokens = this.options.claudeCodeMaxOutputTokens
138138
}
139139

0 commit comments

Comments
 (0)