MCPcopy Create free account
hub / github.com/Noumena-Network/code / getExperimentAdvisorModels

Function getExperimentAdvisorModels

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

Source from the content-addressed store, hash-verified

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

Callers 1

queryModelFunction · 0.85

Calls 3

getAdvisorConfigFunction · 0.85
isAdvisorEnabledFunction · 0.85
canUserConfigureAdvisorFunction · 0.85

Tested by

no test coverage detected