From fd5bdc7cb1cd73b9d91a2a57720ce40e4b0cc125 Mon Sep 17 00:00:00 2001 From: "roomote[bot]" <219738659+roomote[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 21:07:25 -0400 Subject: [PATCH] feat: increase Claude Code default max output tokens to 16k (#6312) feat: increase Claude Code default max output tokens from 8k to 16k - Changed CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS from 8000 to 16000 - Users can still lower it to 8k via environment variable if needed - Addresses issue #6125 regarding output token limits Co-authored-by: Roo Code --- packages/types/src/providers/claude-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/providers/claude-code.ts b/packages/types/src/providers/claude-code.ts index df8b3d302a..6f72baf008 100644 --- a/packages/types/src/providers/claude-code.ts +++ b/packages/types/src/providers/claude-code.ts @@ -22,7 +22,7 @@ export function convertModelNameForVertex(modelName: string): string { // Claude Code export type ClaudeCodeModelId = keyof typeof claudeCodeModels export const claudeCodeDefaultModelId: ClaudeCodeModelId = "claude-sonnet-4-20250514" -export const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8000 +export const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000 /** * Gets the appropriate model ID based on whether Vertex AI is being used.