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

Function parseModelProtocol

packages/oauth/src/managed-kimi-code.ts:18–20  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

16export type ManagedKimiCodeProtocol = 'kimi' | 'anthropic';
17
18export function parseModelProtocol(value: unknown): ManagedKimiCodeProtocol | undefined {
19 return value === 'anthropic' ? 'anthropic' : undefined;
20}
21
22/**
23 * Server-declared thinking toggle support from `/models`:

Callers 1

toModelInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected