MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / models

Method models

apps/api/src/models/models.controller.ts:13–27  ·  view source on GitHub ↗
(
    @Query("provider") provider?: string,
    @Query("mode") mode?: string,
  )

Source from the content-addressed store, hash-verified

11 */
12 @Get()
13 models(
14 @Query("provider") provider?: string,
15 @Query("mode") mode?: string,
16 ): ModelsResponse {
17 if (!provider) {
18 return { providers: listProviders() };
19 }
20 const m = mode === "deep" ? "deep" : "quick";
21 return {
22 provider,
23 mode: m,
24 models: getModelOptions(provider, m),
25 customOnly: isCustomOnly(provider),
26 };
27 }
28}

Callers

nothing calls this directly

Calls 3

listProvidersFunction · 0.90
getModelOptionsFunction · 0.90
isCustomOnlyFunction · 0.90

Tested by

no test coverage detected