summaryrefslogtreecommitdiff
path: root/frontend/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/store')
-rw-r--r--frontend/src/store/flowStore.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/store/flowStore.ts b/frontend/src/store/flowStore.ts
index c1c8b99..5bb3e22 100644
--- a/frontend/src/store/flowStore.ts
+++ b/frontend/src/store/flowStore.ts
@@ -95,7 +95,7 @@ export interface DebateRound {
round: number;
responses: Array<{ model: string; response: string }>;
judgeDecision?: { continue: boolean; reasoning: string };
- converged?: boolean;
+ eliminated?: Array<{ model: string; convincedBy: string | null; reasoning: string }>;
}
export interface DebateData {
@@ -1063,7 +1063,8 @@ const useFlowStore = create<FlowState>((set, get) => {
}
// Trigger auto-save for important changes (not just userPrompt typing)
- if (data.response !== undefined || data.status !== undefined || data.attachedFileIds !== undefined) {
+ if (data.response !== undefined || data.status !== undefined || data.attachedFileIds !== undefined
+ || data.councilData !== undefined || data.debateData !== undefined) {
get().triggerAutoSave();
}
},