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

Function createStreamProvider

packages/kosong/test/anthropic-errors.test.ts:234–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232});
233describe('stream error propagation', () => {
234 function createStreamProvider(): AnthropicChatProvider {
235 return new AnthropicChatProvider({
236 model: 'k25',
237 apiKey: 'test-key',
238 defaultMaxTokens: 1024,
239 stream: true,
240 });
241 }
242
243 function makeErrorStream(error: Error) {
244 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected