From 70eb8a96085c1f3ee9d7d60a0a730909b85f0649 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 7 Jan 2025 16:05:53 -0800 Subject: [PATCH] chore: update `maxTokens` for anthropic models --- core/llm/llms/Anthropic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/llms/Anthropic.ts b/core/llm/llms/Anthropic.ts index 31642ea669..234c168600 100644 --- a/core/llm/llms/Anthropic.ts +++ b/core/llm/llms/Anthropic.ts @@ -10,7 +10,7 @@ class Anthropic extends BaseLLM { contextLength: 200_000, completionOptions: { model: "claude-3-5-sonnet-latest", - maxTokens: 4096, + maxTokens: 8192, }, apiBase: "https://api.anthropic.com/v1/", };