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.2.10"
".": "0.3.0"
}
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-b93c17faa52976d8e3be02251f4977f2c89a1c2bd89e913faffb3a7f6a53c231.yml
openapi_spec_hash: ea1ae484d9656349df4342a8f3db82f1
config_hash: f6ec6016df1ff072b5b60cdf7b438361
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-0f2236db4ff4adacf2e97ed9ad85269500786dbc4c6c83a2ac45b33fba43e259.yml
openapi_spec_hash: 43ad0cbb20696a241cdc83dd5f1366e2
config_hash: c59262d25b94481ba4fe8f302e48e36d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.3.0 (2025-08-14)

Full Changelog: [v0.2.10...v0.3.0](https://github.com/scaleapi/agentex-python/compare/v0.2.10...v0.3.0)

### Features

* **api:** api update ([ad779b4](https://github.com/scaleapi/agentex-python/commit/ad779b4ce6a9f21b4f69c88770269b404ac25818))
* **api:** manual updates ([9dc2f75](https://github.com/scaleapi/agentex-python/commit/9dc2f7511750884ec6754d91e6d27592f85b72e5))

## 0.2.10 (2025-08-13)

Full Changelog: [v0.2.9...v0.2.10](https://github.com/scaleapi/agentex-python/compare/v0.2.9...v0.2.10)
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ from agentex.types import (
DataContent,
MessageAuthor,
MessageStyle,
ReasoningContent,
TaskMessage,
TextContent,
ToolRequestContent,
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.2.10"
version = "0.3.0"
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.2.10" # x-release-please-version
__version__ = "0.3.0" # x-release-please-version
2 changes: 2 additions & 0 deletions src/agentex/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from .task_list_params import TaskListParams as TaskListParams
from .agent_list_params import AgentListParams as AgentListParams
from .event_list_params import EventListParams as EventListParams
from .reasoning_content import ReasoningContent as ReasoningContent
from .state_list_params import StateListParams as StateListParams
from .agent_rpc_response import AgentRpcResponse as AgentRpcResponse
from .agent_task_tracker import AgentTaskTracker as AgentTaskTracker
Expand Down Expand Up @@ -50,6 +51,7 @@
from .tool_response_content import ToolResponseContent as ToolResponseContent
from .tracker_list_response import TrackerListResponse as TrackerListResponse
from .tracker_update_params import TrackerUpdateParams as TrackerUpdateParams
from .reasoning_content_param import ReasoningContentParam as ReasoningContentParam
from .agent_rpc_by_name_params import AgentRpcByNameParams as AgentRpcByNameParams
from .task_message_content_param import TaskMessageContentParam as TaskMessageContentParam
from .tool_request_content_param import ToolRequestContentParam as ToolRequestContentParam
Expand Down
33 changes: 33 additions & 0 deletions src/agentex/types/reasoning_content.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from typing_extensions import Literal

from .._models import BaseModel
from .message_style import MessageStyle
from .message_author import MessageAuthor

__all__ = ["ReasoningContent"]


class ReasoningContent(BaseModel):
author: MessageAuthor
"""
The role of the messages author, in this case `system`, `user`, `assistant`, or
`tool`.
"""

summary: List[str]
"""A list of short reasoning summaries"""

content: Optional[List[str]] = None
"""The reasoning content or chain-of-thought text"""

style: Optional[MessageStyle] = None
"""The style of the message.

This is used by the client to determine how to display the message.
"""

type: Optional[Literal["reasoning"]] = None
"""The type of the message, in this case `reasoning`."""
34 changes: 34 additions & 0 deletions src/agentex/types/reasoning_content_param.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import List, Optional
from typing_extensions import Literal, Required, TypedDict

from .message_style import MessageStyle
from .message_author import MessageAuthor

__all__ = ["ReasoningContentParam"]


class ReasoningContentParam(TypedDict, total=False):
author: Required[MessageAuthor]
"""
The role of the messages author, in this case `system`, `user`, `assistant`, or
`tool`.
"""

summary: Required[List[str]]
"""A list of short reasoning summaries"""

content: Optional[List[str]]
"""The reasoning content or chain-of-thought text"""

style: MessageStyle
"""The style of the message.

This is used by the client to determine how to display the message.
"""

type: Literal["reasoning"]
"""The type of the message, in this case `reasoning`."""
4 changes: 3 additions & 1 deletion src/agentex/types/task_message_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
from .._utils import PropertyInfo
from .data_content import DataContent
from .text_content import TextContent
from .reasoning_content import ReasoningContent
from .tool_request_content import ToolRequestContent
from .tool_response_content import ToolResponseContent

__all__ = ["TaskMessageContent"]

TaskMessageContent: TypeAlias = Annotated[
Union[TextContent, DataContent, ToolRequestContent, ToolResponseContent], PropertyInfo(discriminator="type")
Union[TextContent, ReasoningContent, DataContent, ToolRequestContent, ToolResponseContent],
PropertyInfo(discriminator="type"),
]
3 changes: 2 additions & 1 deletion src/agentex/types/task_message_content_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

from .data_content_param import DataContentParam
from .text_content_param import TextContentParam
from .reasoning_content_param import ReasoningContentParam
from .tool_request_content_param import ToolRequestContentParam
from .tool_response_content_param import ToolResponseContentParam

__all__ = ["TaskMessageContentParam"]

TaskMessageContentParam: TypeAlias = Union[
TextContentParam, DataContentParam, ToolRequestContentParam, ToolResponseContentParam
TextContentParam, ReasoningContentParam, DataContentParam, ToolRequestContentParam, ToolResponseContentParam
]
Loading