Skip to content

Commit 4e7c62e

Browse files
fix: add default value to the use_responses_api parameter from UiPathChatOpenAI (#657)
1 parent 328524c commit 4e7c62e

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-langchain"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_langchain/chat/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def api_flavor(self) -> APIFlavor:
8282
)
8383
def __init__(
8484
self,
85-
use_responses_api: bool,
85+
use_responses_api: bool = True,
8686
token: Optional[str] = None,
8787
model_name: str = OpenAIModels.gpt_4_1_mini_2025_04_14,
8888
api_version: str = "2024-12-01-preview",

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)