MCPcopy
hub / github.com/CodebuffAI/codebuff / isSupportedFreebuffModelId

Function isSupportedFreebuffModelId

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

Source from the content-addressed store, hash-verified

175}
176
177export function isSupportedFreebuffModelId(
178 id: string | null | undefined,
179): id is SupportedFreebuffModelId {
180 if (!id) return false
181 return SUPPORTED_FREEBUFF_MODELS.some((m) => m.id === id)
182}
183
184export function isFreebuffPremiumModelId(
185 id: string | null | undefined,

Calls

no outgoing calls

Tested by

no test coverage detected