Skip to content

Commit 6a64b4c

Browse files
fix: default value for deep_rag_response (#1426)
1 parent 773b1a0 commit 6a64b4c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/uipath-platform/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-platform"
3-
version = "0.0.17"
3+
version = "0.0.18"
44
description = "HTTP client library for programmatic access to UiPath Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

packages/uipath-platform/src/uipath/platform/context_grounding/context_grounding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class DeepRagResponse(BaseModel):
104104
created_date: str = Field(alias="createdDate")
105105
last_deep_rag_status: DeepRagStatus = Field(alias="lastDeepRagStatus")
106106
content: DeepRagContent | None = Field(alias="content")
107-
failure_reason: str | None = Field(alias="failureReason")
107+
failure_reason: str | None = Field(alias="failureReason", default=None)
108108

109109

110110
class BatchTransformStatus(str, Enum):

packages/uipath-platform/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)