maxtokens is parsed as an int
This commit is contained in:
parent
1b1143e6e3
commit
9429395030
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ export class Anthropic {
|
|||
|
||||
let claude_body = {
|
||||
model: this.model,
|
||||
max_tokens: this.max_tokens,
|
||||
max_tokens: parseInt(this.max_tokens),
|
||||
system: this.system_prompt,
|
||||
messages: messages,
|
||||
stream: this.stream,
|
||||
|
|
|
|||
Loading…
Reference in a new issue