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

Function onSetModel

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

Source from the content-addressed store, hash-verified

3972 abortController?.abort()
3973 },
3974 onSetModel(model) {
3975 const resolved =
3976 model === 'default' ? getDefaultMainLoopModel() : model
3977 activeUserSpecifiedModel = resolved
3978 setMainLoopModelOverride(resolved)
3979 },
3980 onSetMaxThinkingTokens(maxTokens) {
3981 if (maxTokens === null) {
3982 options.thinkingConfig = undefined

Callers 1

Calls 2

getDefaultMainLoopModelFunction · 0.85
setMainLoopModelOverrideFunction · 0.85

Tested by

no test coverage detected