Усилить answer contract и агентный аудит для phase105

This commit is contained in:
2026-05-21 09:00:08 +03:00
parent 9c86407937
commit bbc257fd6c
34 changed files with 1533 additions and 184 deletions
@@ -1287,7 +1287,8 @@ function loadSessionDialog(runId: string, caseId: string): {
text: toStringSafe(item.text) ?? "",
created_at: toStringSafe(item.created_at),
trace_id: toStringSafe(item.trace_id),
reply_type: toStringSafe(item.reply_type)
reply_type: toStringSafe(item.reply_type),
debug: item.debug ?? null
}));
const turns = toArray(record.turns)
@@ -1364,7 +1365,8 @@ function buildFallbackDialog(run: IndexedRun, caseId: string): {
text: userText,
created_at: null,
trace_id: null,
reply_type: null
reply_type: null,
debug: null
},
{
message_id: null,
@@ -1372,7 +1374,8 @@ function buildFallbackDialog(run: IndexedRun, caseId: string): {
text: assistantSummaryParts.join("\n"),
created_at: null,
trace_id: toStringSafe(targetCase.trace_id),
reply_type: toStringSafe(targetCase.reply_type)
reply_type: toStringSafe(targetCase.reply_type),
debug: null
}
],
decomposition: [],