Fix: Bedrock vendor model models updated with verified IDs from AWS docs
- Source: docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html - Added: vendor model Opus 4.6 (anthropic.agent-config-opus-4-6-v1) - Added: vendor model Opus 4.5 (anthropic.agent-config-opus-4-5-20251101-v1:0) - Added: vendor model Sonnet 4.6 (anthropic.agent-config-sonnet-4-6) — new default - Added: vendor model Sonnet 4.5 (anthropic.agent-config-sonnet-4-5-20250929-v1:0) - Kept: vendor model Sonnet 4, Haiku 4.5, vendor model 3.5 Haiku - Fallback updated to vendor model Haiku 4.5 - Bump version to 2.9.0
This commit is contained in:
parent
fa6cdb8f24
commit
eb8c86f70e
2 changed files with 16 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pediatric-ai-scribe",
|
||||
"version": "2.8.0",
|
||||
"version": "2.9.0",
|
||||
"description": "AI-powered pediatric clinical documentation platform",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -27,14 +27,20 @@ var OPENROUTER_MODELS = [
|
|||
];
|
||||
|
||||
var BEDROCK_MODELS = [
|
||||
// vendor model models only — verified Bedrock IDs (2025)
|
||||
{ id: 'anthropic/vendor-model-sonnet-4', name: 'vendor model Sonnet 4', cost: '~$0.015', tag: 'RECOMMENDED', category: 'premium',
|
||||
// vendor model models only — verified IDs from AWS docs (models-supported.html)
|
||||
{ id: 'anthropic/vendor-model-opus-4-6', name: 'vendor model Opus 4.6', cost: '~$0.075', tag: 'BEST NUANCE', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-opus-4-6-v1' },
|
||||
{ id: 'anthropic/vendor-model-opus-4-5', name: 'vendor model Opus 4.5', cost: '~$0.075', tag: 'OPUS', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-opus-4-5-20251101-v1:0' },
|
||||
{ id: 'anthropic/vendor-model-sonnet-4-6', name: 'vendor model Sonnet 4.6', cost: '~$0.015', tag: 'RECOMMENDED', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-sonnet-4-6' },
|
||||
{ id: 'anthropic/vendor-model-sonnet-4-5', name: 'vendor model Sonnet 4.5', cost: '~$0.015', tag: 'SMART', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-sonnet-4-5-20250929-v1:0' },
|
||||
{ id: 'anthropic/vendor-model-sonnet-4', name: 'vendor model Sonnet 4', cost: '~$0.015', tag: 'SOLID', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-sonnet-4-20250514-v1:0' },
|
||||
{ id: 'anthropic/vendor-model-3-7-sonnet', name: 'vendor model 3.7 Sonnet', cost: '~$0.015', tag: 'SMART', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-3-7-sonnet-20250219-v1:0' },
|
||||
{ id: 'anthropic/vendor-model-3.5-sonnet', name: 'vendor model 3.5 Sonnet v2', cost: '~$0.015', tag: 'MEDICAL', category: 'premium',
|
||||
bedrockId: 'anthropic.agent-config-3-5-sonnet-20241022-v2:0' },
|
||||
{ id: 'anthropic/vendor-model-3.5-haiku', name: 'vendor model 3.5 Haiku', cost: '~$0.003', tag: 'FAST', category: 'smart',
|
||||
{ id: 'anthropic/vendor-model-haiku-4-5', name: 'vendor model Haiku 4.5', cost: '~$0.003', tag: 'FAST', category: 'smart',
|
||||
bedrockId: 'anthropic.agent-config-haiku-4-5-20251001-v1:0' },
|
||||
{ id: 'anthropic/vendor-model-3.5-haiku', name: 'vendor model 3.5 Haiku', cost: '~$0.002', tag: 'VALUE', category: 'smart',
|
||||
bedrockId: 'anthropic.agent-config-3-5-haiku-20241022-v1:0' }
|
||||
];
|
||||
|
||||
|
|
@ -60,7 +66,7 @@ function getAvailableModels() {
|
|||
|
||||
function getDefaultModel() {
|
||||
switch (activeProvider) {
|
||||
case 'bedrock': return 'anthropic/vendor-model-sonnet-4';
|
||||
case 'bedrock': return 'anthropic/vendor-model-sonnet-4-6';
|
||||
case 'azure': return process.env.AZURE_DEPLOYMENT_NAME || 'gpt-4o-mini';
|
||||
case 'openrouter':
|
||||
default: return 'google/gemini-2.5-flash';
|
||||
|
|
@ -69,7 +75,7 @@ function getDefaultModel() {
|
|||
|
||||
function getFallbackModel() {
|
||||
switch (activeProvider) {
|
||||
case 'bedrock': return 'anthropic/vendor-model-3.5-haiku';
|
||||
case 'bedrock': return 'anthropic/vendor-model-haiku-4-5';
|
||||
case 'azure': return process.env.AZURE_DEPLOYMENT_NAME || 'gpt-4o-mini';
|
||||
case 'openrouter':
|
||||
default: return 'deepseek/deepseek-chat-v3-0324';
|
||||
|
|
|
|||
Loading…
Reference in a new issue