打通转述创作模式的会话与运行时,进料时跳过配方节点图。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-09 02:49:27 +08:00
co-authored by Cursor
parent f94622665e
commit 6b0b49ead3
5 changed files with 470 additions and 20 deletions
+12
View File
@@ -179,6 +179,18 @@ const server = createServer(async (req, res) => {
return;
}
if (req.method === "POST" && sub === "/dictate/clear-dialogue") {
try {
const view = await sessionManager.clearDictateDialogue(sessionId);
json(res, 200, view);
} catch (err) {
json(res, 400, {
error: err instanceof Error ? err.message : "清空失败",
});
}
return;
}
if (req.method === "POST" && sub === "/answers") {
const body = JSON.parse(await readBody(req)) as {
answers?: Array<{