Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.4"
".": "0.4.5"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-80f1ace5353bc55b63c3065f7229699cacf3bdb3dc3ce4a5a479dd35c919c2bf.yml
openapi_spec_hash: 222d76b1af70ef4b692dee4dcf05e57c
config_hash: aeabb3a919ad2763f5d0f41961a2520a
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ from agentex.types import (
ReasoningContent,
TaskMessage,
TextContent,
TextFormat,
ToolRequestContent,
ToolResponseContent,
MessageListResponse,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/agentex/_version.py
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/agentex/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/agentex/types/text_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion src/agentex/types/text_content_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions src/agentex/types/text_format.py
Original file line number Diff line number Diff line change
@@ -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"]
Loading