mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-07 01:55:51 +08:00
Improve flow activation handling and expose active nodes
This commit is contained in:
@@ -17,6 +17,14 @@ export interface FlowActivationInstruction {
|
||||
mode?: FlowActivationMode
|
||||
}
|
||||
|
||||
export interface ActiveNodeSummary {
|
||||
flow: string
|
||||
state: string
|
||||
role?: string
|
||||
say_tpl?: string
|
||||
controller_say_tpl?: string
|
||||
}
|
||||
|
||||
export interface CandidateTraceEntry {
|
||||
id: string
|
||||
flow: string
|
||||
@@ -107,3 +115,9 @@ export interface LLMDecisionTrace {
|
||||
reason?: string
|
||||
}
|
||||
}
|
||||
|
||||
export interface LLMDecisionResult {
|
||||
decision: LLMDecision
|
||||
trace?: LLMDecisionTrace
|
||||
active_nodes?: ActiveNodeSummary[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user