Skip to content

Commit ce3f992

Browse files
committed
Merge branch 'main' into stas/trace-agentex-source
2 parents 48b9d50 + 1724792 commit ce3f992

File tree

40 files changed

+3003
-305
lines changed

40 files changed

+3003
-305
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: ./scripts/lint
3737

3838
build:
39-
if: github.repository == 'stainless-sdks/agentex-sdk-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4040
timeout-minutes: 10
4141
name: build
4242
permissions:
@@ -61,12 +61,14 @@ jobs:
6161
run: rye build
6262

6363
- name: Get GitHub OIDC Token
64+
if: github.repository == 'stainless-sdks/agentex-sdk-python'
6465
id: github-oidc
6566
uses: actions/github-script@v6
6667
with:
6768
script: core.setOutput('github_token', await core.getIDToken());
6869

6970
- name: Upload tarball
71+
if: github.repository == 'stainless-sdks/agentex-sdk-python'
7072
env:
7173
URL: https://pkg.stainless.com/s
7274
AUTH: ${{ steps.github-oidc.outputs.github_token }}

.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.4.4"
2+
".": "0.4.10"
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-29501785fbb6de9348a558389e9d0a9a94dddd50021f6f3ea8ff0fa95dddbeaf.yml
3-
openapi_spec_hash: 523525acdac5482a17e6c99aa9382a50
4-
config_hash: c90254d21aa8a5ea34eb8d11a9dd05cb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-4e747d1e081a07dcd47f7aaed0a8fc18c748658d4c8875f793daf4850e74b47c.yml
3+
openapi_spec_hash: 3a159d7dc86cae47945e678009a197be
4+
config_hash: aeabb3a919ad2763f5d0f41961a2520a

CHANGELOG.md

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

3+
## 0.4.10 (2025-08-24)
4+
5+
Full Changelog: [v0.4.9...v0.4.10](https://github.com/scaleapi/agentex-python/compare/v0.4.9...v0.4.10)
6+
7+
## 0.4.9 (2025-08-22)
8+
9+
Full Changelog: [v0.4.8...v0.4.9](https://github.com/scaleapi/agentex-python/compare/v0.4.8...v0.4.9)
10+
11+
## 0.4.8 (2025-08-22)
12+
13+
Full Changelog: [v0.4.7...v0.4.8](https://github.com/scaleapi/agentex-python/compare/v0.4.7...v0.4.8)
14+
15+
## 0.4.7 (2025-08-22)
16+
17+
Full Changelog: [v0.4.6...v0.4.7](https://github.com/scaleapi/agentex-python/compare/v0.4.6...v0.4.7)
18+
19+
### Chores
20+
21+
* update github action ([677e95d](https://github.com/scaleapi/agentex-python/commit/677e95de075b7031cfc4971d7d09769daaa5b2af))
22+
23+
## 0.4.6 (2025-08-20)
24+
25+
Full Changelog: [v0.4.5...v0.4.6](https://github.com/scaleapi/agentex-python/compare/v0.4.5...v0.4.6)
26+
27+
### Features
28+
29+
* **api:** api update ([7b4c80a](https://github.com/scaleapi/agentex-python/commit/7b4c80acb502c29df63a3d66a1b29b653d2e3cf5))
30+
31+
32+
### Chores
33+
34+
* generate release ([0836e4a](https://github.com/scaleapi/agentex-python/commit/0836e4a632e8f3aa0cd05fc6b61581f8c8be9bcd))
35+
36+
## 0.4.5 (2025-08-20)
37+
38+
Full Changelog: [v0.4.4...v0.4.5](https://github.com/scaleapi/agentex-python/compare/v0.4.4...v0.4.5)
39+
40+
### Features
41+
42+
* **api:** manual updates ([34a53aa](https://github.com/scaleapi/agentex-python/commit/34a53aa28b8f862d74dd1603d92b7dd5dd28ddb1))
43+
44+
45+
### Bug Fixes
46+
47+
* enable FunctionTool serialization for Temporal worker nodes ([c9eb040](https://github.com/scaleapi/agentex-python/commit/c9eb04002825195187cd58f34c9185349a63566e))
48+
* **tools:** handle callable objects in model serialization to facilitate tool calling ([4e9bb87](https://github.com/scaleapi/agentex-python/commit/4e9bb87d7faa2c2e1643893a168f7c6affd2809d))
49+
50+
51+
### Chores
52+
53+
* demonstrate FunctionTool use in a (temporal) tutorial ([3a72043](https://github.com/scaleapi/agentex-python/commit/3a7204333c328fab8ba0f1d31fd26994ea176ecf))
54+
355
## 0.4.4 (2025-08-17)
456

557
Full Changelog: [v0.4.3...v0.4.4](https://github.com/scaleapi/agentex-python/compare/v0.4.3...v0.4.4)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Agentex Python API library
23

34
<!-- prettier-ignore -->

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ from agentex.types import (
6868
ReasoningContent,
6969
TaskMessage,
7070
TextContent,
71+
TextFormat,
7172
ToolRequestContent,
7273
ToolResponseContent,
7374
MessageListResponse,

examples/tutorials/00_sync/000_hello_acp/project/acp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from agentex.lib.sdk.fastacp.fastacp import FastACP
33
from agentex.lib.types.acp import SendMessageParams
44

5-
from agentex.lib.types.task_message_updates import TaskMessageUpdate
5+
from agentex.types.task_message_update import TaskMessageUpdate
66
from agentex.types.task_message import TaskMessageContent
77
from agentex.types.task_message_content import TextContent
88
from agentex.lib.utils.logging import make_logger

examples/tutorials/00_sync/010_multiturn/project/acp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from agentex.lib.sdk.fastacp.fastacp import FastACP
66
from agentex.lib.types.acp import SendMessageParams
77
from agentex.lib.types.llm_messages import AssistantMessage, LLMConfig, SystemMessage, UserMessage
8-
from agentex.lib.types.task_message_updates import TaskMessageUpdate
8+
from agentex.types.task_message_update import TaskMessageUpdate
99
from agentex.types.task_message import TaskMessageContent
1010
from agentex.types.task_message_content import TextContent
1111
from agentex.lib.utils.model_utils import BaseModel

examples/tutorials/00_sync/020_streaming/project/acp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
from agentex.lib.sdk.fastacp.fastacp import FastACP
66
from agentex.lib.types.acp import SendMessageParams
77
from agentex.lib.types.llm_messages import AssistantMessage, LLMConfig, SystemMessage, UserMessage
8-
from agentex.lib.types.task_message_updates import StreamTaskMessageDelta, StreamTaskMessageDone, StreamTaskMessageFull, TaskMessageUpdate, TextDelta
8+
from agentex.types.task_message_update import StreamTaskMessageDelta, StreamTaskMessageDone, StreamTaskMessageFull, TaskMessageUpdate
9+
from agentex.types.task_message_delta import TextDelta
910
from agentex.lib.utils.model_utils import BaseModel
1011
from agentex.types.task_message_content import TaskMessageContent, TextContent
1112

@@ -89,10 +90,12 @@ async def handle_message_send(
8990
):
9091
if chunk and chunk.choices and chunk.choices[0].delta and chunk.choices[0].delta.content:
9192
yield StreamTaskMessageDelta(
93+
type="delta",
9294
index=message_index,
9395
delta=TextDelta(text_delta=chunk.choices[0].delta.content or ""),
9496
)
9597

9698
yield StreamTaskMessageDone(
99+
type="done",
97100
index=message_index,
98101
)

examples/tutorials/10_agentic/00_base/040_other_sdks/project/acp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
from agentex.lib.sdk.fastacp.fastacp import FastACP
99
from agentex.lib.types.acp import CancelTaskParams, CreateTaskParams, SendEventParams
1010
from agentex.lib.types.fastacp import AgenticACPConfig
11-
from agentex.lib.types.task_message_updates import (
11+
from agentex.types.task_message_update import (
1212
StreamTaskMessageDelta,
1313
StreamTaskMessageFull,
14-
TextDelta,
1514
)
15+
from agentex.types.task_message_delta import TextDelta
1616
from agentex.lib.utils.logging import make_logger
1717
from agentex.lib.utils.model_utils import BaseModel
1818
from agentex.types.text_content import TextContent

0 commit comments

Comments
 (0)