Merge branch 'kolbytn:main' into main

This commit is contained in:
Sweaterdog 2025-03-12 19:01:34 -07:00 committed by GitHub
commit e38f7587d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"params": {
"thinking": {
"type": "enabled",
"budget_tokens": 16000
"budget_tokens": 4000
}
}
},

View file

@ -26,7 +26,7 @@ export class Claude {
this.params.max_tokens = this.params.thinking.budget_tokens + 1000;
// max_tokens must be greater than thinking.budget_tokens
} else {
this.params.max_tokens = 16000;
this.params.max_tokens = 4096;
}
}
const resp = await this.anthropic.messages.create({