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

File kimi.test.ts

packages/kosong/test/kimi.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { generate } from '#/generate';
2import type { ContentPart, Message, ToolCall } from '#/message';
3import { extractUsageFromChunk, KimiChatProvider } from '#/providers/kimi';
4import { extractUsage } from '#/providers/openai-common';

Callers

nothing calls this directly

Calls 15

generateFunction · 0.90
extractUsageFromChunkFunction · 0.90
extractUsageFunction · 0.90
getInternalClientFunction · 0.85
withExtraBodyMethod · 0.80
createProviderFunction · 0.70
captureRequestBodyFunction · 0.70
getGenerationStateFunction · 0.70
makeChunkFunction · 0.70
mockStreamFunction · 0.70

Tested by

no test coverage detected