Skip to content

Commit f23f912

Browse files
fix: bound langchain-anthropic<1.7.0 on uipath-langchain-client extras
langchain-anthropic 1.7.0 changed the private _create/_acreate contract to raw responses, breaking every UiPathChatAnthropic operation. Bound <1.7.0 on the anthropic extra and explicitly on the bedrock extra (previously unbounded there via langchain-aws[anthropic]). Interim pin until the overrides adopt the new contract. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 30fd2fb commit f23f912

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

packages/uipath_langchain_client/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `uipath_langchain_client` will be documented in this file.
44

5+
## [1.18.2] - 2026-09-01
6+
7+
### Fixed
8+
- Bound `langchain-anthropic>=1.4.1,<1.7.0` on the `anthropic` and `bedrock` extras; 1.7.0 changed the private `_create`/`_acreate` contract, breaking `UiPathChatAnthropic`.
9+
510
## [1.18.1] - 2026-08-31
611

712
### Fixed

packages/uipath_langchain_client/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ google = [
1717
"langchain-google-genai>=4.2.2,<5.0.0",
1818
]
1919
anthropic = [
20-
"langchain-anthropic>=1.4.1,<2.0.0",
20+
"langchain-anthropic>=1.4.1,<1.7.0",
2121
"anthropic[bedrock,vertex]>=0.96.0,<1.0.0",
2222
]
2323
bedrock = [
2424
"langchain-aws[anthropic]>=1.4.5,<2.0.0",
25+
"langchain-anthropic>=1.4.1,<1.7.0",
2526
"anthropic[bedrock]>=0.96.0,<1.0.0",
2627
]
2728
vertexai = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "UiPath LangChain Client"
22
__description__ = "A Python client for interacting with UiPath's LLM services via LangChain."
3-
__version__ = "1.18.1"
3+
__version__ = "1.18.2"

uv.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)