From 7c8b4ea6fd5f3603ae402c750d4f2c41ef032b91 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 06:25:09 +0000 Subject: [PATCH 1/8] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 93a8d335..88104714 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml -openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-3b2a2991693f29dd671a5cac6a764201d5e94758162dc366f4eee5fc8850f733.yml +openapi_spec_hash: 465c6a8b95a0e3c28d245f5386dded9c config_hash: c90254d21aa8a5ea34eb8d11a9dd05cb From 6d3a3bb596536d13204bc3c82daa1ca7b8bc71ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 15:25:15 +0000 Subject: [PATCH 2/8] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 88104714..93a8d335 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-3b2a2991693f29dd671a5cac6a764201d5e94758162dc366f4eee5fc8850f733.yml -openapi_spec_hash: 465c6a8b95a0e3c28d245f5386dded9c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml +openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50 config_hash: c90254d21aa8a5ea34eb8d11a9dd05cb From 357a33640d63595629e94d158d3c97be4212ea1a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 19:48:53 +0000 Subject: [PATCH 3/8] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 93a8d335..9811afa5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50 -config_hash: c90254d21aa8a5ea34eb8d11a9dd05cb +config_hash: 2de0ced4fd577245ea14e330212b2e50 From 34a53aa28b8f862d74dd1603d92b7dd5dd28ddb1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 19:49:52 +0000 Subject: [PATCH 4/8] feat(api): manual updates --- .stats.yml | 2 +- api.md | 1 + src/agentex/types/__init__.py | 1 + src/agentex/types/text_content.py | 3 ++- src/agentex/types/text_content_param.py | 3 ++- src/agentex/types/text_format.py | 7 +++++++ 6 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 src/agentex/types/text_format.py diff --git a/.stats.yml b/.stats.yml index 9811afa5..48d7868e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50 -config_hash: 2de0ced4fd577245ea14e330212b2e50 +config_hash: aeabb3a919ad2763f5d0f41961a2520a diff --git a/api.md b/api.md index 7f67632d..4e3e6f83 100644 --- a/api.md +++ b/api.md @@ -68,6 +68,7 @@ from agentex.types import ( ReasoningContent, TaskMessage, TextContent, + TextFormat, ToolRequestContent, ToolResponseContent, MessageListResponse, diff --git a/src/agentex/types/__init__.py b/src/agentex/types/__init__.py index 62c11a73..0445dfad 100644 --- a/src/agentex/types/__init__.py +++ b/src/agentex/types/__init__.py @@ -11,6 +11,7 @@ from .acp_type import AcpType as AcpType from .data_delta import DataDelta as DataDelta from .text_delta import TextDelta as TextDelta +from .text_format import TextFormat as TextFormat from .data_content import DataContent as DataContent from .task_message import TaskMessage as TaskMessage from .text_content import TextContent as TextContent diff --git a/src/agentex/types/text_content.py b/src/agentex/types/text_content.py index f4586698..df8ea167 100644 --- a/src/agentex/types/text_content.py +++ b/src/agentex/types/text_content.py @@ -4,6 +4,7 @@ from typing_extensions import Literal from .._models import BaseModel +from .text_format import TextFormat from .message_style import MessageStyle from .message_author import MessageAuthor @@ -37,7 +38,7 @@ class TextContent(BaseModel): attachments: Optional[List[Attachment]] = None """Optional list of file attachments with structured metadata.""" - format: Literal["markdown", "plain", "code"] = "plain" + format: TextFormat = "plain" """The format of the message. This is used by the client to determine how to display the message. diff --git a/src/agentex/types/text_content_param.py b/src/agentex/types/text_content_param.py index 87f357e0..9923a2a8 100644 --- a/src/agentex/types/text_content_param.py +++ b/src/agentex/types/text_content_param.py @@ -5,6 +5,7 @@ from typing import Iterable, Optional from typing_extensions import Literal, Required, TypedDict +from .text_format import TextFormat from .message_style import MessageStyle from .message_author import MessageAuthor @@ -38,7 +39,7 @@ class TextContentParam(TypedDict, total=False): attachments: Optional[Iterable[Attachment]] """Optional list of file attachments with structured metadata.""" - format: Literal["markdown", "plain", "code"] + format: TextFormat """The format of the message. This is used by the client to determine how to display the message. diff --git a/src/agentex/types/text_format.py b/src/agentex/types/text_format.py new file mode 100644 index 00000000..dea8ca30 --- /dev/null +++ b/src/agentex/types/text_format.py @@ -0,0 +1,7 @@ +# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +from typing_extensions import Literal, TypeAlias + +__all__ = ["TextFormat"] + +TextFormat: TypeAlias = Literal["markdown", "plain", "code"] From cf6b499f2b46bb9c11ffb178e45727320b41246a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:25:38 +0000 Subject: [PATCH 5/8] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 48d7868e..53739925 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml -openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-80f1ace5353bc55b63c3065f7229699cacf3bdb3dc3ce4a5a479dd35c919c2bf.yml +openapi_spec_hash: 222d76b1af70ef4b692dee4dcf05e57c config_hash: aeabb3a919ad2763f5d0f41961a2520a From c208e9d3479d1edab08144ad4f21bc7f57ee74df Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 19:25:14 +0000 Subject: [PATCH 6/8] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 53739925..310d989e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-80f1ace5353bc55b63c3065f7229699cacf3bdb3dc3ce4a5a479dd35c919c2bf.yml -openapi_spec_hash: 222d76b1af70ef4b692dee4dcf05e57c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b97510d27c568c48ae1618ab3509ea49c6036c5e6805e83507b221c2f3b5a09b.yml +openapi_spec_hash: f40aa1af94d6b5be6226c935e080c8cb config_hash: aeabb3a919ad2763f5d0f41961a2520a From 9a459ddb67de6077d22c7294497a27d3d1d2fa9d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 20:25:19 +0000 Subject: [PATCH 7/8] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 310d989e..53739925 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b97510d27c568c48ae1618ab3509ea49c6036c5e6805e83507b221c2f3b5a09b.yml -openapi_spec_hash: f40aa1af94d6b5be6226c935e080c8cb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-80f1ace5353bc55b63c3065f7229699cacf3bdb3dc3ce4a5a479dd35c919c2bf.yml +openapi_spec_hash: 222d76b1af70ef4b692dee4dcf05e57c config_hash: aeabb3a919ad2763f5d0f41961a2520a From 73d4aebb5ca90e2fb60b9e957a164e5ce526b98c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 22:38:51 +0000 Subject: [PATCH 8/8] release: 0.4.5 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 19 +++++++++++++++++++ pyproject.toml | 2 +- src/agentex/_version.py | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0c02950d..e1eb2bdf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.4" + ".": "0.4.5" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index af69c34b..3ec82df4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 0.4.5 (2025-08-20) + +Full Changelog: [v0.4.4...v0.4.5](https://github.com/scaleapi/agentex-python/compare/v0.4.4...v0.4.5) + +### Features + +* **api:** manual updates ([34a53aa](https://github.com/scaleapi/agentex-python/commit/34a53aa28b8f862d74dd1603d92b7dd5dd28ddb1)) + + +### Bug Fixes + +* enable FunctionTool serialization for Temporal worker nodes ([c9eb040](https://github.com/scaleapi/agentex-python/commit/c9eb04002825195187cd58f34c9185349a63566e)) +* **tools:** handle callable objects in model serialization to facilitate tool calling ([4e9bb87](https://github.com/scaleapi/agentex-python/commit/4e9bb87d7faa2c2e1643893a168f7c6affd2809d)) + + +### Chores + +* demonstrate FunctionTool use in a (temporal) tutorial ([3a72043](https://github.com/scaleapi/agentex-python/commit/3a7204333c328fab8ba0f1d31fd26994ea176ecf)) + ## 0.4.4 (2025-08-17) Full Changelog: [v0.4.3...v0.4.4](https://github.com/scaleapi/agentex-python/compare/v0.4.3...v0.4.4) diff --git a/pyproject.toml b/pyproject.toml index 9ca24d62..03bc8bd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentex-sdk" -version = "0.4.4" +version = "0.4.5" description = "The official Python library for the agentex API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/agentex/_version.py b/src/agentex/_version.py index 2814e289..5f41f496 100644 --- a/src/agentex/_version.py +++ b/src/agentex/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "agentex" -__version__ = "0.4.4" # x-release-please-version +__version__ = "0.4.5" # x-release-please-version