MCPcopy Create free account
hub / github.com/code-with-antonio/nightcode / isSupportedChatModel

Function isSupportedChatModel

packages/server/src/lib/models.ts:87–89  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

85};
86
87export function isSupportedChatModel(modelId: string): modelId is SupportedChatModelId {
88 return findSupportedChatModel(modelId) != null;
89};
90
91export function resolveChatModel(modelId: string): ResolvedModel {
92 const model = findSupportedChatModel(modelId);

Callers

nothing calls this directly

Calls 1

findSupportedChatModelFunction · 0.90

Tested by

no test coverage detected