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

Function createProvider

packages/kosong/test/kimi.test.ts:25–35  ·  view source on GitHub ↗
(
  stream: boolean = false,
  supportEfforts?: readonly string[],
)

Source from the content-addressed store, hash-verified

23}
24
25function createProvider(
26 stream: boolean = false,
27 supportEfforts?: readonly string[],
28): KimiChatProvider {
29 return new KimiChatProvider({
30 model: 'kimi-k2-turbo-preview',
31 apiKey: 'test-key',
32 stream,
33 supportEfforts,
34 });
35}
36
37type KimiGenerationState = {
38 max_tokens?: number | undefined;

Callers 3

toAnthropicWireFunction · 0.90
providerMethod · 0.90
kimi.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected