MCPcopy
hub / github.com/claude-code-best/claude-code / getMainLoopModel

Function getMainLoopModel

src/utils/model/model.ts:111–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 * @returns The resolved model name to use
110 */
111export function getMainLoopModel(): ModelName {
112 const model = getUserSpecifiedModelSetting()
113 if (model !== undefined && model !== null) {
114 return parseUserSpecifiedModel(model)
115 }
116 return getDefaultMainLoopModel()
117}
118
119export function getBestModel(): ModelName {
120 return getDefaultOpusModel()

Callers 15

searchMethod · 0.85
renderToolUseTagFunction · 0.85
submitMessageMethod · 0.85
SpinnerWithVerbInnerFunction · 0.85
getContextUsedPercentFunction · 0.85
useFeedbackSurveyFunction · 0.85
getRealModelNameFunction · 0.85
isPDFSupportedFunction · 0.85
teleportToRemoteFunction · 0.85
checkMcpToolsFunction · 0.85
verifyAutoModeGateAccessFunction · 0.85

Calls 3

parseUserSpecifiedModelFunction · 0.85
getDefaultMainLoopModelFunction · 0.85

Tested by

no test coverage detected