adds claude-2 to supported models
This commit is contained in:
parent
32605fff53
commit
aee382c84e
|
@ -3,11 +3,13 @@ import { Key, KeyProvider } from "..";
|
|||
import { config } from "../../config";
|
||||
import { logger } from "../../logger";
|
||||
|
||||
// https://docs.anthropic.com/claude/reference/selecting-a-model
|
||||
export const ANTHROPIC_SUPPORTED_MODELS = [
|
||||
"claude-instant-v1",
|
||||
"claude-instant-v1-100k",
|
||||
"claude-v1",
|
||||
"claude-v1-100k",
|
||||
"claude-2",
|
||||
] as const;
|
||||
export type AnthropicModel = (typeof ANTHROPIC_SUPPORTED_MODELS)[number];
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ const getModelsResponse = () => {
|
|||
"claude-instant-v1.1",
|
||||
"claude-instant-v1.1-100k",
|
||||
"claude-instant-v1.0",
|
||||
"claude-2", // claude-2 is 100k by default it seems
|
||||
"claude-2.0",
|
||||
];
|
||||
|
||||
const models = claudeVariants.map((id) => ({
|
||||
|
|
Loading…
Reference in New Issue