()
| 74 | } |
| 75 | |
| 76 | export function getExperimentAdvisorModels(): |
| 77 | | { baseModel: string; advisorModel: string } |
| 78 | | undefined { |
| 79 | const config = getAdvisorConfig() |
| 80 | return isAdvisorEnabled() && |
| 81 | !canUserConfigureAdvisor() && |
| 82 | config.baseModel && |
| 83 | config.advisorModel |
| 84 | ? { baseModel: config.baseModel, advisorModel: config.advisorModel } |
| 85 | : undefined |
| 86 | } |
| 87 | |
| 88 | // @[MODEL LAUNCH]: Add the new model if it supports the advisor tool. |
| 89 | // Checks whether the main loop model supports calling the advisor tool. |
no test coverage detected