修改: app/api/bedrock.ts

删除:     app/api/bedrock/models.ts
	删除:     app/api/bedrock/utils.ts
	修改:     app/client/platforms/bedrock.ts
	删除:     app/components/chat-actions.tsx
	修改:     app/components/chat.tsx
	修改:     app/constant.ts
	删除:     app/icons/document.svg
This commit is contained in:
glay
2024-11-04 16:24:10 +08:00
parent dca4a0e48f
commit fc391168e9
8 changed files with 355 additions and 1158 deletions

View File

@@ -316,8 +316,8 @@ const bedrockModels = [
"anthropic.claude-3-opus-20240229-v1:0",
"anthropic.claude-3-5-sonnet-20241022-v2:0",
// Meta Llama Models
"meta.llama3-2-11b-instruct-v1:0",
"meta.llama3-2-90b-instruct-v1:0",
"us.meta.llama3-2-11b-instruct-v1:0",
"us.meta.llama3-2-90b-instruct-v1:0",
//Mistral
"mistral.mistral-large-2402-v1:0",
"mistral.mistral-large-2407-v1:0",
@@ -529,7 +529,7 @@ export const DEFAULT_MODELS = [
id: "bedrock",
providerName: "Bedrock",
providerType: "bedrock",
sorted: 12,
sorted: 13,
},
})),
] as const;