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

Function getMainLoopModel

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

Source from the content-addressed store, hash-verified

90 * @returns The resolved model name to use
91 */
92export function getMainLoopModel(): ModelName {
93 const model = getUserSpecifiedModelSetting()
94 if (model !== undefined && model !== null) {
95 return parseUserSpecifiedModel(model)
96 }
97 return getDefaultMainLoopModel()
98}
99
100export function getBestModel(): ModelName {
101 return getDefaultOpusModel()

Callers 15

submitMessageMethod · 0.85
isEnabledFunction · 0.85
renderToolUseTagFunction · 0.85
SpinnerWithVerbInnerFunction · 0.85
getContextUsedPercentFunction · 0.85
useFeedbackSurveyFunction · 0.85
getAttributionTextsFunction · 0.85
getEnhancedPRAttributionFunction · 0.85
isPDFSupportedFunction · 0.85
teleportToRemoteFunction · 0.85

Calls 3

parseUserSpecifiedModelFunction · 0.85
getDefaultMainLoopModelFunction · 0.85

Tested by

no test coverage detected