fix: increase default max_tokens for Anthropic API to 32k
This commit is contained in:
parent
b25a71c8ff
commit
a8b9ce85a1
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ export class AnthropicApi implements BaseLlmApi {
|
|||
: systemMessage,
|
||||
top_p: oaiBody.top_p,
|
||||
temperature: oaiBody.temperature,
|
||||
max_tokens: oaiBody.max_tokens ?? 4096, // max_tokens is required
|
||||
max_tokens: oaiBody.max_tokens ?? 32_000, // max_tokens is required
|
||||
model: oaiBody.model,
|
||||
stop_sequences: stop,
|
||||
stream: oaiBody.stream,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue