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

Function findSupportedChatModel

packages/shared/src/models.ts:68–70  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

66export type SupportedChatModelId = SupportedChatModel["id"];
67
68export function findSupportedChatModel(modelId: string) {
69 return SUPPORTED_CHAT_MODELS.find((model) => model.id === modelId);
70}
71
72export const DEFAULT_CHAT_MODEL_ID: SupportedChatModelId = "claude-opus-4-6";

Callers 3

getModelPricingFunction · 0.90
isSupportedChatModelFunction · 0.90
resolveChatModelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected