Skip to content

Commit ed880a6

Browse files
Release 0.2.21
1 parent af85bcb commit ed880a6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
},
1010
"should_generate_websocket_clients": true
1111
},
12-
"sdkVersion": "0.2.20"
12+
"sdkVersion": "0.2.21"
1313
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "agentmail"
7-
version = "0.2.20"
7+
version = "0.2.21"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/agentmail/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ def get_headers(self) -> typing.Dict[str, str]:
2828
import platform
2929

3030
headers: typing.Dict[str, str] = {
31-
"User-Agent": "agentmail/0.2.20",
31+
"User-Agent": "agentmail/0.2.21",
3232
"X-Fern-Language": "Python",
3333
"X-Fern-Runtime": f"python/{platform.python_version()}",
3434
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
3535
"X-Fern-SDK-Name": "agentmail",
36-
"X-Fern-SDK-Version": "0.2.20",
36+
"X-Fern-SDK-Version": "0.2.21",
3737
**(self.get_custom_headers() or {}),
3838
}
3939
headers["Authorization"] = f"Bearer {self._get_api_key()}"

src/agentmail/environment.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
class AgentMailEnvironment:
77
PROD: AgentMailEnvironment
88
PROD_X_402: AgentMailEnvironment
9+
PROD_MPP: AgentMailEnvironment
910
EU_PROD: AgentMailEnvironment
1011

1112
def __init__(self, *, http: str, websockets: str):
@@ -17,4 +18,7 @@ def __init__(self, *, http: str, websockets: str):
1718
AgentMailEnvironment.PROD_X_402 = AgentMailEnvironment(
1819
http="https://x402.api.agentmail.to", websockets="wss://x402.ws.agentmail.to"
1920
)
21+
AgentMailEnvironment.PROD_MPP = AgentMailEnvironment(
22+
http="https://mpp.api.agentmail.to", websockets="wss://mpp.ws.agentmail.to"
23+
)
2024
AgentMailEnvironment.EU_PROD = AgentMailEnvironment(http="https://api.agentmail.eu", websockets="wss://ws.agentmail.eu")

0 commit comments

Comments
 (0)