File size: 567 Bytes
064bfd6
 
 
 
 
 
 
 
8083f17
 
 
064bfd6
1
2
3
4
5
6
7
8
9
10
11
12
13
import { CLAUDE_OPUS_4_6_CONFIG } from '../model/configs.js'
import { getAPIProvider } from '../model/providers.js'

// @[MODEL LAUNCH]: Update the fallback model below.
// When the user has never set teammateDefaultModel in /config, new teammates
// use Opus 4.6. Must be provider-aware so Bedrock/Vertex/Foundry customers get
// the correct model ID.
export function getHardcodedTeammateModelFallback(): string {
  const provider = getAPIProvider()
  // Default to firstParty if no provider is configured
  return CLAUDE_OPUS_4_6_CONFIG[provider ?? 'firstParty']
}