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

Function isFreebuffModelId

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

Source from the content-addressed store, hash-verified

151}
152
153export function isFreebuffModelId(
154 id: string | null | undefined,
155): id is FreebuffModelId {
156 if (!id) return false
157 return FREEBUFF_MODELS.some((m) => m.id === id)
158}
159
160export function resolveFreebuffModel(
161 id: string | null | undefined,

Callers 3

validateSettingsFunction · 0.90
resolveFreebuffModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected