Commit bed84d4
committed
fix: publish RAG error as realtime event to the client
When the RAG server returns a non-200 status (e.g. 413), the
error was not sent to the client via realtime, so it could not
display it. Now publish an error event before returning.1 parent c54f628 commit bed84d4
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
304 | 306 | | |
305 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
306 | 318 | | |
307 | | - | |
308 | | - | |
309 | 319 | | |
310 | 320 | | |
311 | 321 | | |
| |||
0 commit comments