MCPcopy
hub / github.com/codeaashu/claude-code / setMainLoopModelOverride

Function setMainLoopModelOverride

src/bootstrap/state.ts:846–850  ·  view source on GitHub ↗
(
  model: ModelSetting | undefined,
)

Source from the content-addressed store, hash-verified

844}
845
846export function setMainLoopModelOverride(
847 model: ModelSetting | undefined,
848): void {
849 STATE.mainLoopModelOverride = model
850}
851
852export function setInitialMainLoopModel(model: ModelSetting): void {
853 STATE.initialMainLoopModel = model

Callers 9

runFunction · 0.85
restoreAgentFromSessionFunction · 0.85
onChangeAppStateFunction · 0.85
runHeadlessStreamingFunction · 0.85
onSetModelFunction · 0.85
handleInitializeRequestFunction · 0.85
loadInitialMessagesFunction · 0.85
onSetModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected