MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / onSetModel

Function onSetModel

src/cli/print.ts:3945–3950  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

3943 abortController?.abort()
3944 },
3945 onSetModel(model) {
3946 const resolved =
3947 model === 'default' ? getDefaultMainLoopModel() : model
3948 activeUserSpecifiedModel = resolved
3949 setMainLoopModelOverride(resolved)
3950 },
3951 onSetMaxThinkingTokens(maxTokens) {
3952 if (maxTokens === null) {
3953 options.thinkingConfig = undefined

Callers 1

Calls 2

getDefaultMainLoopModelFunction · 0.85
setMainLoopModelOverrideFunction · 0.85

Tested by

no test coverage detected