Commit 100eb44
test(gateway): cover vercel-ai-gateway in-stream error fallback message
Adds a case where the in-band error chunk has no message, exercising the
default "Vercel AI Gateway stream error" fallback branch flagged as uncovered.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 4971ce3 commit 100eb44
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
215 | 232 | | |
216 | 233 | | |
217 | 234 | | |
| |||
0 commit comments