VoiceAgentHandoffState interface
語音代理切換圖的有效拓撲與執行狀態。
屬性
| active_node_id | 目前已提交的節點識別碼或 |
| attempt_count | 唯一保留的切換嘗試次數。 |
| available_edge_ids | 目前可從活動節點提供的邊緣識別碼。 |
| edges | 編譯後的交接邊緣。 |
| nodes | 已編譯的交接節點,包括隱含或顯式 |
| node_generation | 已承諾主動節點配置的單調遞增產生。 |
| pipeline_family | 不可變的執行管線家族。 |
| transfer_count | 成功完成的交接次數。 |
| transfer_tool | 產生的交接函數對作用中模型可見,或在沒有可用路由時為空。 |
屬性詳細資料
active_node_id
目前已提交的節點識別碼或 $entrypoint。
active_node_id: string
屬性值
string
attempt_count
唯一保留的切換嘗試次數。
attempt_count: number
屬性值
number
available_edge_ids
目前可從活動節點提供的邊緣識別碼。
available_edge_ids: string[]
屬性值
string[]
edges
nodes
已編譯的交接節點,包括隱含或顯式 $entrypoint的 。
nodes: VoiceAgentHandoffNodeState[]
屬性值
node_generation
已承諾主動節點配置的單調遞增產生。
node_generation: number
屬性值
number
pipeline_family
transfer_count
成功完成的交接次數。
transfer_count: number
屬性值
number
transfer_tool
產生的交接函數對作用中模型可見,或在沒有可用路由時為空。
transfer_tool: VoiceAgentFunctionTool | null
屬性值
VoiceAgentFunctionTool | null