refactor: simplify chat fork flow
This commit is contained in:
@@ -21,7 +21,6 @@ describe("chatStorage backend-only persistence", () => {
|
||||
title: undefined,
|
||||
messages: [],
|
||||
sessionId: undefined,
|
||||
branchGroups: [],
|
||||
});
|
||||
expect(apiFetch).not.toHaveBeenCalled();
|
||||
});
|
||||
@@ -60,11 +59,9 @@ describe("chatStorage backend-only persistence", () => {
|
||||
id: "message-2",
|
||||
role: "user",
|
||||
content: "第一条消息",
|
||||
branchRootId: "message-2",
|
||||
},
|
||||
],
|
||||
sessionId: undefined,
|
||||
branchGroups: [],
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user