diff --git a/src/uipath/runtime/context.py b/src/uipath/runtime/context.py index c77ceb0..4dad0ed 100644 --- a/src/uipath/runtime/context.py +++ b/src/uipath/runtime/context.py @@ -37,8 +37,13 @@ class UiPathRuntimeContext(BaseModel): ) exchange_id: str | None = Field(None, description="Exchange identifier for CAS") message_id: str | None = Field(None, description="Message identifier for CAS") - voice_mode: Literal["config", "toolCall"] | None = Field( - None, description="Voice job type for CAS" + voice_mode: Literal["session"] | None = Field( + None, + description=( + "Set when this job hosts a voice agent session. " + "Only 'session' is supported; the runtime factory uses its presence " + "to dispatch to the voice runtime." + ), ) mcp_server_id: str | None = None mcp_server_slug: str | None = None