MCPcopy
hub / github.com/claude-code-best/claude-code / getExperimentAdvisorModels

Function getExperimentAdvisorModels

src/utils/advisor.ts:75–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75export 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.

Callers 1

queryModelFunction · 0.85

Calls 3

getAdvisorConfigFunction · 0.85
isAdvisorEnabledFunction · 0.85
canUserConfigureAdvisorFunction · 0.85

Tested by

no test coverage detected