MCPcopy Index your code
hub / github.com/freecodexyz/free-code / getMainLoopModel

Function getMainLoopModel

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

Source from the content-addressed store, hash-verified

93 * @returns The resolved model name to use
94 */
95export function getMainLoopModel(): ModelName {
96 const model = getUserSpecifiedModelSetting()
97 if (model !== undefined && model !== null) {
98 return parseUserSpecifiedModel(model)
99 }
100 return getDefaultMainLoopModel()
101}
102
103export function getBestModel(): ModelName {
104 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