Repair multimodal vision parsing and rerun fallback history
这个提交包含在:
@@ -13,6 +13,7 @@ import {
|
||||
} from "./prompts";
|
||||
import { toPublicUrl } from "./publicUrl";
|
||||
import { storagePut } from "./storage";
|
||||
import { extractStructuredJsonContent, normalizeMultimodalCorrectionReport } from "./vision";
|
||||
import {
|
||||
normalizeAdjustedPlanResponse,
|
||||
normalizeTrainingPlanResponse,
|
||||
@@ -367,12 +368,7 @@ async function runMultimodalCorrectionTask(task: NonNullable<TaskRow>) {
|
||||
schema: multimodalCorrectionSchema,
|
||||
},
|
||||
},
|
||||
parse: (content) => {
|
||||
if (typeof content === "string") {
|
||||
return JSON.parse(content);
|
||||
}
|
||||
return content as Record<string, unknown>;
|
||||
},
|
||||
parse: (content) => normalizeMultimodalCorrectionReport(extractStructuredJsonContent(content)),
|
||||
});
|
||||
|
||||
const result = {
|
||||
|
||||
在新工单中引用
屏蔽一个用户