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

Function isValidAdvisorModel

source code/utils/advisor.ts:101–108  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

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

Callers 3

runFunction · 0.85
callFunction · 0.85
queryModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected