Skip to content

Commit 617b472

Browse files
committed
another id for ToolCallPart
1 parent 4058bb5 commit 617b472

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scrapybara"
33

44
[tool.poetry]
55
name = "scrapybara"
6-
version = "2.3.4"
6+
version = "2.3.5"
77
description = ""
88
readme = "README.md"
99
authors = []

src/scrapybara/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "scrapybara",
19-
"X-Fern-SDK-Version": "2.3.4",
19+
"X-Fern-SDK-Version": "2.3.5",
2020
}
2121
headers["x-api-key"] = self.api_key
2222
return headers

src/scrapybara/types/act.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class ImagePart(BaseModel):
1919

2020
class ToolCallPart(BaseModel):
2121
type: Literal["tool-call"] = "tool-call"
22+
tool_id: Optional[str] = None
2223
tool_call_id: str
2324
tool_name: str
2425
args: Dict[str, Any]

0 commit comments

Comments
 (0)