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