We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bce608 commit 05ced4eCopy full SHA for 05ced4e
src/backend/src/modules/puterai/ClaudeService.js
@@ -251,6 +251,7 @@ class ClaudeService extends BaseService {
251
252
const msg = await this.anthropic.messages.create({
253
model: model ?? this.get_default_model(),
254
+ max_tokens: (model === 'claude-3-5-sonnet-20241022' || model === 'claude-3-5-sonnet-20240620') ? 8192 : 4096,
255
temperature: 0,
256
system: PUTER_PROMPT + JSON.stringify(system_prompts),
257
messages: adapted_messages,
0 commit comments