Skip to content

Commit

Permalink
bugfix/claude-instant-1 model name (#164)
Browse files Browse the repository at this point in the history
* claude-instant-1
  • Loading branch information
danielchalef authored Aug 14, 2023
1 parent 4d0d1ab commit 4a5df34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/llms/llm_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ var ValidOpenAILLMs = map[string]bool{
}

var ValidAnthropicLLMs = map[string]bool{
"claude": true,
"claude-2": true,
"claude-instant-1": true,
"claude-2": true,
}

var ValidLLMMap = internal.MergeMaps(ValidOpenAILLMs, ValidAnthropicLLMs)
Expand All @@ -79,7 +79,7 @@ var MaxLLMTokensMap = map[string]int{
"gpt-3.5-turbo-16k": 16_384,
"gpt-4": 8192,
"gpt-4-32k": 32_768,
"claude": 100_000,
"claude-instant-1": 100_000,
"claude-2": 100_000,
}

Expand Down

0 comments on commit 4a5df34

Please sign in to comment.