Skip to content

Commit 3b40067

Browse files
authored
Merge pull request #73 from scaleapi/release-please--branches--main--changes--next
release: 0.3.0
2 parents b4d345b + 98b59e8 commit 3b40067

File tree

11 files changed

+90
-8
lines changed

11 files changed

+90
-8
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.10"
2+
".": "0.3.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b93c17faa52976d8e3be02251f4977f2c89a1c2bd89e913faffb3a7f6a53c231.yml
3-
openapi_spec_hash: ea1ae484d9656349df4342a8f3db82f1
4-
config_hash: f6ec6016df1ff072b5b60cdf7b438361
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-0f2236db4ff4adacf2e97ed9ad85269500786dbc4c6c83a2ac45b33fba43e259.yml
3+
openapi_spec_hash: 43ad0cbb20696a241cdc83dd5f1366e2
4+
config_hash: c59262d25b94481ba4fe8f302e48e36d

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.3.0 (2025-08-14)
4+
5+
Full Changelog: [v0.2.10...v0.3.0](https://github.com/scaleapi/agentex-python/compare/v0.2.10...v0.3.0)
6+
7+
### Features
8+
9+
* **api:** api update ([ad779b4](https://github.com/scaleapi/agentex-python/commit/ad779b4ce6a9f21b4f69c88770269b404ac25818))
10+
* **api:** manual updates ([9dc2f75](https://github.com/scaleapi/agentex-python/commit/9dc2f7511750884ec6754d91e6d27592f85b72e5))
11+
312
## 0.2.10 (2025-08-13)
413

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

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ from agentex.types import (
6363
DataContent,
6464
MessageAuthor,
6565
MessageStyle,
66+
ReasoningContent,
6667
TaskMessage,
6768
TextContent,
6869
ToolRequestContent,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agentex-sdk"
3-
version = "0.2.10"
3+
version = "0.3.0"
44
description = "The official Python library for the agentex API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/agentex/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "agentex"
4-
__version__ = "0.2.10" # x-release-please-version
4+
__version__ = "0.3.0" # x-release-please-version

src/agentex/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .task_list_params import TaskListParams as TaskListParams
2323
from .agent_list_params import AgentListParams as AgentListParams
2424
from .event_list_params import EventListParams as EventListParams
25+
from .reasoning_content import ReasoningContent as ReasoningContent
2526
from .state_list_params import StateListParams as StateListParams
2627
from .agent_rpc_response import AgentRpcResponse as AgentRpcResponse
2728
from .agent_task_tracker import AgentTaskTracker as AgentTaskTracker
@@ -50,6 +51,7 @@
5051
from .tool_response_content import ToolResponseContent as ToolResponseContent
5152
from .tracker_list_response import TrackerListResponse as TrackerListResponse
5253
from .tracker_update_params import TrackerUpdateParams as TrackerUpdateParams
54+
from .reasoning_content_param import ReasoningContentParam as ReasoningContentParam
5355
from .agent_rpc_by_name_params import AgentRpcByNameParams as AgentRpcByNameParams
5456
from .task_message_content_param import TaskMessageContentParam as TaskMessageContentParam
5557
from .tool_request_content_param import ToolRequestContentParam as ToolRequestContentParam
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from typing import List, Optional
4+
from typing_extensions import Literal
5+
6+
from .._models import BaseModel
7+
from .message_style import MessageStyle
8+
from .message_author import MessageAuthor
9+
10+
__all__ = ["ReasoningContent"]
11+
12+
13+
class ReasoningContent(BaseModel):
14+
author: MessageAuthor
15+
"""
16+
The role of the messages author, in this case `system`, `user`, `assistant`, or
17+
`tool`.
18+
"""
19+
20+
summary: List[str]
21+
"""A list of short reasoning summaries"""
22+
23+
content: Optional[List[str]] = None
24+
"""The reasoning content or chain-of-thought text"""
25+
26+
style: Optional[MessageStyle] = None
27+
"""The style of the message.
28+
29+
This is used by the client to determine how to display the message.
30+
"""
31+
32+
type: Optional[Literal["reasoning"]] = None
33+
"""The type of the message, in this case `reasoning`."""
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from __future__ import annotations
4+
5+
from typing import List, Optional
6+
from typing_extensions import Literal, Required, TypedDict
7+
8+
from .message_style import MessageStyle
9+
from .message_author import MessageAuthor
10+
11+
__all__ = ["ReasoningContentParam"]
12+
13+
14+
class ReasoningContentParam(TypedDict, total=False):
15+
author: Required[MessageAuthor]
16+
"""
17+
The role of the messages author, in this case `system`, `user`, `assistant`, or
18+
`tool`.
19+
"""
20+
21+
summary: Required[List[str]]
22+
"""A list of short reasoning summaries"""
23+
24+
content: Optional[List[str]]
25+
"""The reasoning content or chain-of-thought text"""
26+
27+
style: MessageStyle
28+
"""The style of the message.
29+
30+
This is used by the client to determine how to display the message.
31+
"""
32+
33+
type: Literal["reasoning"]
34+
"""The type of the message, in this case `reasoning`."""

src/agentex/types/task_message_content.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
from .._utils import PropertyInfo
77
from .data_content import DataContent
88
from .text_content import TextContent
9+
from .reasoning_content import ReasoningContent
910
from .tool_request_content import ToolRequestContent
1011
from .tool_response_content import ToolResponseContent
1112

1213
__all__ = ["TaskMessageContent"]
1314

1415
TaskMessageContent: TypeAlias = Annotated[
15-
Union[TextContent, DataContent, ToolRequestContent, ToolResponseContent], PropertyInfo(discriminator="type")
16+
Union[TextContent, ReasoningContent, DataContent, ToolRequestContent, ToolResponseContent],
17+
PropertyInfo(discriminator="type"),
1618
]

0 commit comments

Comments
 (0)