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

Function setMainLoopModelOverride

source code/bootstrap/state.ts:848–852  ·  view source on GitHub ↗
(
  model: ModelSetting | undefined,
)

Source from the content-addressed store, hash-verified

846}
847
848export function setMainLoopModelOverride(
849 model: ModelSetting | undefined,
850): void {
851 STATE.mainLoopModelOverride = model
852}
853
854export function setInitialMainLoopModel(model: ModelSetting): void {
855 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