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

Function failingStream2

packages/kosong/test/openai-common-errors.test.ts:184–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 // Verify the message is preserved
183 await expect(async () => {
184 async function* failingStream2(): AsyncGenerator<never> {
185 throw new OpenAIAPIError(undefined, undefined, 'Network connection lost.', undefined);
186 yield undefined as never;
187 }
188 const msg2 = new OpenAILegacyStreamedMessage(
189 failingStream2() as AsyncIterable<never>,
190 true,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected