MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / resolveCapabilities

Function resolveCapabilities

packages/oauth/src/custom-registry.ts:269–274  ·  view source on GitHub ↗
(model: CustomRegistryModelEntry)

Source from the content-addressed store, hash-verified

267}
268
269function resolveCapabilities(model: CustomRegistryModelEntry): string[] {
270 if (hasRichCapabilityHints(model)) {
271 return capabilitiesFromCustomEntry(model);
272 }
273 return [...CUSTOM_REGISTRY_DEFAULT_CAPABILITIES];
274}
275
276/**
277 * Writes one custom-registry provider entry into the managed config in place.

Callers 1

Calls 2

hasRichCapabilityHintsFunction · 0.85

Tested by

no test coverage detected