()
| 232 | }); |
| 233 | describe('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 { |
no outgoing calls
no test coverage detected