MCPcopy Create free account
hub / github.com/arctic-cli/interface / listModels

Function listModels

packages/arctic/src/provider/pricing.ts:404–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402 * Get all available models
403 */
404 export function listModels(): string[] {
405 if (!modelsDevCache) return []
406 const models: string[] = []
407 for (const provider of Object.values(modelsDevCache.data)) {
408 models.push(...Object.keys(provider.models))
409 }
410 return models
411 }
412
413 export type CopilotPlanType = "free" | "paid"
414

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected