diff --git a/src/backend/src/modules/puterai/ClaudeService.js b/src/backend/src/modules/puterai/ClaudeService.js index 36f05cebf..7bc5cca35 100644 --- a/src/backend/src/modules/puterai/ClaudeService.js +++ b/src/backend/src/modules/puterai/ClaudeService.js @@ -168,7 +168,7 @@ class ClaudeService extends BaseService { (async () => { const completion = await this.anthropic.messages.stream({ model: model ?? this.get_default_model(), - max_tokens: 1000, + max_tokens: 8096, temperature: 0, system: PUTER_PROMPT + JSON.stringify(system_prompts), messages: adapted_messages, @@ -205,7 +205,7 @@ class ClaudeService extends BaseService { const msg = await this.anthropic.messages.create({ model: model ?? this.get_default_model(), - max_tokens: 1000, + max_tokens: 8096, temperature: 0, system: PUTER_PROMPT + JSON.stringify(system_prompts), messages: adapted_messages,