refactor: share llm decision types

This commit is contained in:
Remi
2025-09-20 09:27:45 +02:00
parent ae0664c17c
commit 1711ed1e5e
4 changed files with 21 additions and 34 deletions

17
shared/types/llm.ts Normal file
View File

@@ -0,0 +1,17 @@
export interface LLMDecisionInput {
state_id: string
state: any
candidates: Array<{ id: string; state: any }>
variables: Record<string, any>
flags: Record<string, any>
pilot_utterance: string
}
export interface LLMDecision {
next_state: string
updates?: Record<string, any>
flags?: Record<string, any>
controller_say_tpl?: string
off_schema?: boolean
radio_check?: boolean
}