Skip to content

Commit eed14a8

Browse files
author
Developer
committed
feat(api): add streaming support and fix test isolation
- Add AnthropicStreamingRequest with stream: true for SSE - Implement parse_sse_stream for real-time response parsing - Extract do_send_with_retry as generic retry function - Fix test parallel race conditions with #[serial] - Add SSE event parsing unit tests - Remove broken providers_test_generated.rs - Add futures dependency for StreamExt - Fix Metric/ChannelConfig import errors
1 parent 56a8323 commit eed14a8

File tree

5 files changed

+363
-842
lines changed

5 files changed

+363
-842
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ clap = { version = "4", features = ["derive"] }
6767
rand = "0.8"
6868

6969
# HTTP client for WhatsApp MCP
70-
reqwest = { version = "0.12", features = ["json"] }
70+
reqwest = { version = "0.12", features = ["json", "stream"] }
71+
72+
futures = "0.3"
7173

7274
# Web server for Telegram webhook
7375
axum = { version = "0.7", features = ["json"] }

0 commit comments

Comments
 (0)