we do a little trolling

This commit is contained in:
hagen-danswer 2024-10-22 14:06:07 -07:00 committed by pablodanswer
parent e7462c4973
commit daf86ed821
2 changed files with 4 additions and 5 deletions

View File

@ -300,8 +300,7 @@ const MODEL_DISPLAY_NAMES: { [key: string]: string } = {
"anthropic.claude-v1": "Claude v1",
"anthropic.claude-3-opus-20240229-v1:0": "Claude 3 Opus",
"anthropic.claude-3-haiku-20240307-v1:0": "Claude 3 Haiku",
"anthropic.claude-3-5-sonnet-claude-3-5-sonnet-20241022-v1:0":
"Claude 3.5 Sonnet",
"anthropic.claude-3-5-sonnet-20241022-v1:0": "Claude 3.5 Sonnet",
"anthropic.claude-3-sonnet-20240229-v1:0": "Claude 3 Sonnet",
"mistral.mistral-large-2402-v1:0": "Mistral Large",
"mistral.mixtral-8x7b-instruct-v0:1": "Mixtral 8x7B Instruct",
@ -324,7 +323,7 @@ export const defaultModelsByProvider: { [name: string]: string[] } = {
"meta.llama3-1-8b-instruct-v1:0",
"anthropic.claude-3-opus-20240229-v1:0",
"mistral.mistral-large-2402-v1:0",
"anthropic.claude-3-5-sonnet-claude-3-5-sonnet-20241022-v1:0",
"anthropic.claude-3-5-sonnet-20241022-v1:0",
],
anthropic: ["claude-3-opus-20240229", "claude-3-5-sonnet-20241022"],
};

View File

@ -77,12 +77,12 @@ const MODEL_NAMES_SUPPORTING_IMAGE_INPUT = [
"claude-3-opus-20240229-v1:0",
"claude-3-sonnet-20240229-v1:0",
"claude-3-haiku-20240307-v1:0",
"claude-3-5-sonnet-claude-3-5-sonnet-20241022-v1:0",
"claude-3-5-sonnet-20241022-v1:0",
// claude names with full AWS Bedrock names
"anthropic.claude-3-opus-20240229-v1:0",
"anthropic.claude-3-sonnet-20240229-v1:0",
"anthropic.claude-3-haiku-20240307-v1:0",
"anthropic.claude-3-5-sonnet-claude-3-5-sonnet-20241022-v1:0",
"anthropic.claude-3-5-sonnet-20241022-v1:0",
];
export function checkLLMSupportsImageInput(model: string) {