Skip to content

Commit 4876079

Browse files
fix: context field fix (#1384)
1 parent 9dc444d commit 4876079

3 files changed

Lines changed: 5 additions & 5 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"
3-
version = "2.9.13"
3+
version = "2.9.14"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/agent/models/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ class AgentContextSettings(BaseCfg):
361361
query: AgentContextQuerySetting = Field(
362362
default_factory=lambda: AgentContextQuerySetting(variant="dynamic")
363363
)
364-
folder_path_prefix: Optional[Union[Dict[str, Any], AgentContextValueSetting]] = (
365-
Field(None, alias="folderPathPrefix")
364+
folder_path_prefix: Optional[AgentContextQuerySetting] = Field(
365+
None, alias="folderPathPrefix"
366366
)
367-
file_extension: Optional[Union[Dict[str, Any], AgentContextValueSetting]] = Field(
367+
file_extension: Optional[AgentContextValueSetting] = Field(
368368
None, alias="fileExtension"
369369
)
370370
citation_mode: Optional[AgentContextValueSetting] = Field(

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)