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

Function hasRichCapabilityHints

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

Source from the content-addressed store, hash-verified

247}
248
249function hasRichCapabilityHints(model: CustomRegistryModelEntry): boolean {
250 return (
251 typeof model.tool_call === 'boolean' ||
252 typeof model.reasoning === 'boolean' ||
253 model.modalities !== undefined
254 );
255}
256
257function resolveMaxContextSize(model: CustomRegistryModelEntry): number {
258 const context = model.limit?.context;

Callers 1

resolveCapabilitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected