Skip to content

Commit a0a551b

Browse files
authored
Merge pull request #136 from UiPath/fix/uipath_chat_tool_calls
fix(llm): fix llm tool calls
2 parents 1bd7880 + c57a508 commit a0a551b

2 files changed

Lines changed: 2 additions & 1 deletion

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.0.118"
3+
version = "0.0.119"
44
description = "UiPath Langchain"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"

src/uipath_langchain/chat/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def _create_chat_result(
117117
"id": tool["id"],
118118
"name": tool["name"],
119119
"args": tool["arguments"],
120+
"type": "tool_call",
120121
}
121122
for tool in message["tool_calls"]
122123
]

0 commit comments

Comments
 (0)