flat: ts + 接口错误处理

This commit is contained in:
Apcallover
2025-11-11 21:31:32 +08:00
parent 59e04e53b1
commit 120bad4abe
5 changed files with 58 additions and 3 deletions

View File

@@ -141,6 +141,7 @@ export function setupWorkflowHandlers() {
// 将整个工作流封装在 IPC Handler 中
ipcMain.handle("run-job-workflow", async (_, userQuery) => {
console.log("工作流: 正在准备工作...");
let currentJobData = userQuery || {};
let answerText = "";