MCPcopy Create free account
hub / github.com/Roy3838/Observer / listModels

Function listModels

app/src/utils/inferenceServer.ts:89–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 * This is a synchronous getter that returns the current cached model list.
88 */
89export function listModels(): ModelsResponse {
90 return ModelManager.getInstance().listModels();
91}
92
93/**
94 * Fetch models from all configured servers and refresh local model cache.

Callers 3

fetchModelsFunction · 0.90
LocalWarningFunction · 0.90
useEditAgentModalLogicFunction · 0.90

Calls 2

listModelsMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected