mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 22:43:45 +08:00
Revert "dev: remove max_tokens from Claude"
This reverts commit 3bce60893e
.
This commit is contained in:
parent
3bce60893e
commit
05ced4e625
@ -251,6 +251,7 @@ class ClaudeService extends BaseService {
|
||||
|
||||
const msg = await this.anthropic.messages.create({
|
||||
model: model ?? this.get_default_model(),
|
||||
max_tokens: (model === 'claude-3-5-sonnet-20241022' || model === 'claude-3-5-sonnet-20240620') ? 8192 : 4096,
|
||||
temperature: 0,
|
||||
system: PUTER_PROMPT + JSON.stringify(system_prompts),
|
||||
messages: adapted_messages,
|
||||
|
Loading…
Reference in New Issue
Block a user