()
| 73 | } |
| 74 | |
| 75 | export function getExperimentAdvisorModels(): |
| 76 | | { baseModel: string; advisorModel: string } |
| 77 | | undefined { |
| 78 | const config = getAdvisorConfig() |
| 79 | return isAdvisorEnabled() && |
| 80 | !canUserConfigureAdvisor() && |
| 81 | config.baseModel && |
| 82 | config.advisorModel |
| 83 | ? { baseModel: config.baseModel, advisorModel: config.advisorModel } |
| 84 | : undefined |
| 85 | } |
| 86 | |
| 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. |
no test coverage detected