MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getExperimentAdvisorModels

Function getExperimentAdvisorModels

source code/utils/advisor.ts:77–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

queryModelFunction · 0.85

Calls 3

getAdvisorConfigFunction · 0.85
isAdvisorEnabledFunction · 0.85
canUserConfigureAdvisorFunction · 0.85

Tested by

no test coverage detected