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

Function isCopilotModelAvailable

packages/arctic/src/provider/pricing.ts:448–451  ·  view source on GitHub ↗
(modelId: string, plan: CopilotPlanType)

Source from the content-addressed store, hash-verified

446 }
447
448 export function isCopilotModelAvailable(modelId: string, plan: CopilotPlanType): boolean {
449 const multiplier = getCopilotMultiplier(modelId, plan)
450 return multiplier !== null
451 }
452
453 export function listCopilotMultipliers(plan: CopilotPlanType): Record<string, number> {
454 const result: Record<string, number> = {}

Callers

nothing calls this directly

Calls 1

getCopilotMultiplierFunction · 0.85

Tested by

no test coverage detected