Commit bd2c504
[Freestyler] Max timeout of Observation
Race the Observation with a timeout Promise and report the correct
error to the LLM so that it can try to recover.
This mitigates the issue of SideEffect's and Observations getting
stuck due to Promises that never resolve.
Fixed: 373893673
Change-Id: I209c3b07244bd8412fce5e4c0e47e4af1fbf6f77
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5993651
Commit-Queue: Nikolay Vitkov <[email protected]>
Auto-Submit: Nikolay Vitkov <[email protected]>
Reviewed-by: Alex Rudenko <[email protected]>1 parent f62b1e3 commit bd2c504
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
460 | 467 | | |
461 | 468 | | |
462 | 469 | | |
| |||
0 commit comments