refactor(chat): optimize sandbox status logic and decouple UI/Status hooks (#6713)

* refactor(chat): optimize sandbox status logic and decouple UI/Status hooks

* fix: useRef, rename onClose to afterClose
This commit is contained in:
DigHuang
2026-04-03 15:22:50 +08:00
committed by GitHub
parent 8f731b55b3
commit 7cca3f9f57
7 changed files with 129 additions and 66 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ export type AIChatItemType = {
citeCollectionIds?: string[];
/**
* @deprecated 不再存储在 chatItemSchema 里,分别存储到 chatItemResponseSchema
* 不再存储在 chatItemSchema 里,分别存储到 chatItemResponseSchema
*/
[DispatchNodeResponseKeyEnum.nodeResponse]?: ChatHistoryItemResType[];
};