Repository navigation
Commit 99a329d
authored
Intercept httpx2 in the Microsoft Bot's Anthropic endpoint test (#761)
anthropic 1.x sends through httpx2 rather than httpx. The test patched
httpx.AsyncHTTPTransport, so with the newest SDK its request reached the
real Anthropic API and failed with 401, breaking main's CI. It now patches
httpx2.AsyncHTTPTransport, as the AG2 Bot's tests already do.1 parent aff4981 commit 99a329d
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
0 commit comments