diff options
Diffstat (limited to 'frontend/src/store/flowStore.ts')
| -rw-r--r-- | frontend/src/store/flowStore.ts | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/frontend/src/store/flowStore.ts b/frontend/src/store/flowStore.ts index 3590580..944b846 100644 --- a/frontend/src/store/flowStore.ts +++ b/frontend/src/store/flowStore.ts @@ -73,6 +73,16 @@ export interface MergedTrace { summarizedContent?: string; // For summary strategy, stores the LLM-generated summary } +export interface CouncilData { + stage1: Array<{ model: string; response: string }> | null; + stage2: { + rankings: Array<{ model: string; ranking: string; parsed_ranking: string[] }>; + label_to_model: Record<string, string>; + aggregate_rankings: Array<{ model: string; average_rank: number; rankings_count: number }>; + } | null; + stage3: { model: string; response: string } | null; +} + export interface NodeData { label: string; model: string; @@ -85,22 +95,28 @@ export interface NodeData { reasoningEffort: 'low' | 'medium' | 'high'; // For OpenAI reasoning models attachedFileIds?: string[]; // IDs of files attached to this node disabled?: boolean; // Greyed out, no interaction - + + // Council mode + councilMode?: boolean; + councilModels?: string[]; + chairmanModel?: string; + councilData?: CouncilData; + // Traces logic traces: Trace[]; // INCOMING Traces outgoingTraces: Trace[]; // ALL Outgoing (inherited + self + forks + merged) forkedTraces: Trace[]; // Manually created forks from "New" handle mergedTraces: MergedTrace[]; // Merged traces from multiple inputs - activeTraceIds: string[]; - - response: string; + activeTraceIds: string[]; + + response: string; status: NodeStatus; inputs: number; - + // Timestamps for merge logic querySentAt?: number; // Unix timestamp when query was sent responseReceivedAt?: number; // Unix timestamp when response was received - + [key: string]: any; } |
