MCPcopy Index your code
hub / github.com/Noumena-Network/code / getMainLoopModel

Function getMainLoopModel

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

Source from the content-addressed store, hash-verified

146 * @returns The resolved model name to use
147 */
148export function getMainLoopModel(): ModelName {
149 const model = getUserSpecifiedModelSetting()
150 if (model !== undefined && model !== null) {
151 return parseUserSpecifiedModel(model)
152 }
153 return getDefaultMainLoopModel()
154}
155
156export function getBestModel(): ModelName {
157 return getDefaultOpusModel()

Callers 15

submitMessageMethod · 0.85
isEnabledFunction · 0.85
renderToolUseTagFunction · 0.85
SpinnerWithVerbInnerFunction · 0.85
getContextUsedPercentFunction · 0.85
useFeedbackSurveyFunction · 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