Skip to content

Commit

Permalink
restore required completion param for anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
nvms committed Aug 19, 2023
1 parent b1ba736 commit 1183fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1183fe5

Please sign in to comment.