fix(agent): preserve streamed replies after model failures (#6494)

* fix(agent): preserve streamed replies after model failures

* test(webui): settle lazy imports and async settings saves

* test(agent): synchronize estimation checks at the operation boundary

* docs(webui): explain retained replies after stream failures
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-27 16:22:33 +08:00
1 parent b6536bfc5e
commit 219c8bb2bc
31 files changed
+462 -27

No files matched your search

@@ -12,7 +12,7 @@ describe("model request failure copy", () => {
expect(titles).toEqual([
"Model provider authorization failed",
"Model provider quota is unavailable",
"Could not connect to the model provider",
"Model connection failed",
"Model provider request timed out",
"Model provider rate limit reached",
"Model provider service error",