Commit 063fec1
authored
fix(cli): add timeout to ag run session creation fetch (#3247)
Closes #3247
- Add AbortSignal.timeout(120_000) to POST /v1/sessions fetch
- Add AbortError handling with actionable error message
- Prevents silent hang when server is slow (BYO-LLM proxy setups)
Root cause: no client timeout on session creation fetch. Broski (first external tester)
hit this on v0.6.6. Fix needs v0.6.7 release.1 parent b7cbb50 commit 063fec1
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | | - | |
| 262 | + | |
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
| |||
0 commit comments