(model: string)
| 99 | |
| 100 | // @[MODEL LAUNCH]: Add the new model if it can serve as an advisor model. |
| 101 | export function isValidAdvisorModel(model: string): boolean { |
| 102 | const m = model.toLowerCase() |
| 103 | return ( |
| 104 | m.includes('opus-4-6') || |
| 105 | m.includes('sonnet-4-6') || |
| 106 | process.env.USER_TYPE === 'ant' |
| 107 | ) |
| 108 | } |
| 109 | |
| 110 | export function getInitialAdvisorSetting(): string | undefined { |
| 111 | if (!isAdvisorEnabled()) { |
no outgoing calls
no test coverage detected