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

Function getInternalClient

packages/kosong/test/kimi.test.ts:890–892  ·  view source on GitHub ↗
(provider: KimiChatProvider)

Source from the content-addressed store, hash-verified

888 // original instance's `_client` would become a dangling reference to
889 // a closed socket. Lock in the invariant here.
890 function getInternalClient(provider: KimiChatProvider): unknown {
891 return Reflect.get(provider, '_client');
892 }
893
894 it('withGenerationKwargs clone shares the same OpenAI client as the original', () => {
895 const original = createProvider();

Callers 1

kimi.test.tsFile · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected