File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import os
66from functools import cached_property
77from pathlib import Path
8- from typing import Any
8+ from typing import Any , Literal
99
1010from pydantic import BaseModel , ConfigDict , Field
1111from uipath .core .errors import UiPathFaultedTriggerError
@@ -37,6 +37,9 @@ class UiPathRuntimeContext(BaseModel):
3737 )
3838 exchange_id : str | None = Field (None , description = "Exchange identifier for CAS" )
3939 message_id : str | None = Field (None , description = "Message identifier for CAS" )
40+ voice_mode : Literal ["config" , "toolCall" ] | None = Field (
41+ None , description = "Voice job type for CAS"
42+ )
4043 mcp_server_id : str | None = None
4144 mcp_server_slug : str | None = None
4245 tenant_id : str | None = None
@@ -363,6 +366,7 @@ def from_config(
363366 "conversationalService.messageId" : "message_id" ,
364367 "mcpServer.id" : "mcp_server_id" ,
365368 "mcpServer.slug" : "mcp_server_slug" ,
369+ "voice.mode" : "voice_mode" ,
366370 }
367371
368372 attributes_set = set ()
You can’t perform that action at this time.
0 commit comments