(model: string)
| 87 | // @[MODEL LAUNCH]: Add the new model if it supports the advisor tool. |
| 88 | // Checks whether the main loop model supports calling the advisor tool. |
| 89 | export function modelSupportsAdvisor(model: string): boolean { |
| 90 | const m = model.toLowerCase() |
| 91 | return ( |
| 92 | m.includes('opus-4-6') || |
| 93 | m.includes('sonnet-4-6') || |
| 94 | process.env.USER_TYPE === 'ant' |
| 95 | ) |
| 96 | } |
| 97 | |
| 98 | // @[MODEL LAUNCH]: Add the new model if it can serve as an advisor model. |
| 99 | export function isValidAdvisorModel(model: string): boolean { |
no outgoing calls
no test coverage detected