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

Function resolveAnthropicModel

packages/server/src/lib/models.ts:56–63  ·  view source on GitHub ↗
(modelId: AnthropicModelId)

Source from the content-addressed store, hash-verified

54};
55
56function resolveAnthropicModel(modelId: AnthropicModelId): ResolvedModel {
57 return {
58 model: anthropic(modelId),
59 provider: "anthropic",
60 modelId,
61 providerOptions: ANTHROPIC_PROVIDER_OPTIONS[modelId],
62 };
63};
64
65function resolveOpenAIModel(modelId: OpenAIModelId): ResolvedModel {
66 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected