Skip to content

Commit 4c59efc

Browse files
committed
refactor: narrow voice_mode to Literal["session"]
The "config" and "toolCall" voice modes are deprecated; all voice agents have been migrated to "session". Narrow the literal so dead values can't propagate into runtime callers, and bump version to 0.10.4.
1 parent aa576f7 commit 4c59efc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-runtime"
3-
version = "0.10.3"
3+
version = "0.10.4"
44
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

‎src/uipath/runtime/context.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ 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(
40+
voice_mode: Literal["session"] | None = Field(
4141
None, description="Voice job type for CAS"
4242
)
4343
mcp_server_id: str | None = None

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)