Skip to content

Commit aa5c233

Browse files
Release 0.1.18
1 parent 53b895a commit aa5c233

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "agentmail"
33

44
[tool.poetry]
55
name = "agentmail"
6-
version = "0.1.17"
6+
version = "0.1.18"
77
description = ""
88
readme = "README.md"
99
authors = []

src/agentmail/attachments/types/attachment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Attachment(UncheckedBaseModel):
1818
filename: typing.Optional[AttachmentFilename] = None
1919
size: AttachmentSize
2020
content_type: typing.Optional[AttachmentContentType] = None
21-
content_disposition: AttachmentContentDisposition
21+
content_disposition: typing.Optional[AttachmentContentDisposition] = None
2222
content_id: typing.Optional[AttachmentContentId] = None
2323

2424
if IS_PYDANTIC_V2:

src/agentmail/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def __init__(
2323

2424
def get_headers(self) -> typing.Dict[str, str]:
2525
headers: typing.Dict[str, str] = {
26-
"User-Agent": "agentmail/0.1.17",
26+
"User-Agent": "agentmail/0.1.18",
2727
"X-Fern-Language": "Python",
2828
"X-Fern-SDK-Name": "agentmail",
29-
"X-Fern-SDK-Version": "0.1.17",
29+
"X-Fern-SDK-Version": "0.1.18",
3030
**(self.get_custom_headers() or {}),
3131
}
3232
headers["Authorization"] = f"Bearer {self._get_api_key()}"

0 commit comments

Comments
 (0)