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:
1 parent
b6536bfc5e
commit
219c8bb2bc
31 files changed
+462
-27
No files matched your search
@@ -870,6 +870,9 @@ export function useNanobotStream(
|
||||
...(typeof ev.failure_error_kind === "string"
|
||||
? { failure_error_kind: ev.failure_error_kind }
|
||||
: {}),
|
||||
...(typeof ev.reply_preserved === "boolean"
|
||||
? { reply_preserved: ev.reply_preserved }
|
||||
: {}),
|
||||
};
|
||||
setRecoveryState(next);
|
||||
if (ev.reason === "model_request_failed" || ev.status === "resuming") {
|
||||
|
||||
Reference in new issue
Block a user