恢复Direct失败态临时回复清理
失败事件到达时清空界面中的临时回复。 保留ref中的partial供中断持久化流程使用。
This commit is contained in:
@@ -1188,6 +1188,8 @@ export function App({
|
||||
: Date.now();
|
||||
if (payload.status === 'failed') {
|
||||
activeDirectCodexTurnRef.current = null;
|
||||
setDirectCodexTransientReply('');
|
||||
setDirectCodexTransientReplyUpdatedAt(null);
|
||||
setDirectCodexProgress('处理失败,正在同步错误');
|
||||
setDirectCodexProgressUpdatedAt(updatedAt);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user