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

Function isValidAdvisorModel

src/utils/advisor.ts:100–107  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

98
99// @[MODEL LAUNCH]: Add the new model if it can serve as an advisor model.
100export function isValidAdvisorModel(model: string): boolean {
101 const m = model.toLowerCase()
102 return (
103 m.includes('opus-4-6') ||
104 m.includes('sonnet-4-6') ||
105 isInternalBuild()
106 )
107}
108
109export function getInitialAdvisorSetting(): string | undefined {
110 if (!isAdvisorEnabled()) {

Callers 3

runFunction · 0.85
callFunction · 0.85
queryModelFunction · 0.85

Calls 1

isInternalBuildFunction · 0.85

Tested by

no test coverage detected