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

Function terminatedStream

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

Source from the content-addressed store, hash-verified

225 // loop. The provider must surface a retryable APIConnectionError so the
226 // loop retries instead of failing the turn outright.
227 async function* terminatedStream(): AsyncGenerator<never> {
228 throw new TypeError('terminated');
229 yield undefined as never;
230 }
231
232 const msg = new OpenAILegacyStreamedMessage(
233 terminatedStream() as AsyncIterable<never>,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected