From 1183fe592cf73891532d2b695f5838d1959a35ab Mon Sep 17 00:00:00 2001 From: nvms Date: Sat, 19 Aug 2023 09:07:22 -0400 Subject: [PATCH] restore required completion param for anthropic --- src/templates/render.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/render.ts b/src/templates/render.ts index 8b8fa47..63de198 100644 --- a/src/templates/render.ts +++ b/src/templates/render.ts @@ -136,7 +136,7 @@ const defaultOpenAICompletionParams = () => ({ // https://docs.anthropic.com/claude/reference/complete_post const defaultAnthropicCompletionParams = () => ({ - // max_tokens_to_sample: 4096, + max_tokens_to_sample: 4096, top_k: 5, model: "claude-instant-v1", temperature: 0.3,