Skip to content

Commit

Permalink
max output tokens (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcguire12 authored Dec 13, 2024
1 parent 55f0cd2 commit cdaf3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/llm/AnthropicClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class AnthropicClient extends LLMClient {

const response = await this.client.messages.create({
model: this.modelName,
max_tokens: options.maxTokens || 1500,
max_tokens: options.maxTokens || 8192,
messages: formattedMessages,
tools: anthropicTools,
system: systemMessage
Expand Down

0 comments on commit cdaf3ea

Please sign in to comment.