MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isFreebuffPremiumModelId

Function isFreebuffPremiumModelId

common/src/constants/freebuff-models.ts:184–189  ·  view source on GitHub ↗
(
  id: string | null | undefined,
)

Source from the content-addressed store, hash-verified

182}
183
184export function isFreebuffPremiumModelId(
185 id: string | null | undefined,
186): id is FreebuffPremiumModelId {
187 if (!id) return false
188 return FREEBUFF_PREMIUM_MODEL_IDS.some((modelId) => modelId === id)
189}
190
191export function resolveSupportedFreebuffModel(
192 id: string | null | undefined,

Callers 3

FreebuffModelSelectorFunction · 0.90
quotaConfigForModelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected