Skip to content

Commit 185a6a7

Browse files
authored
Merge branch 'main' into jason/j2acp
2 parents 622ae9f + 44f07a5 commit 185a6a7

File tree

29 files changed

+2954
-293
lines changed

29 files changed

+2954
-293
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.5"
2+
".": "0.4.9"
33
}

.stats.yml

Lines changed: 2 additions & 2 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-80f1ace5353bc55b63c3065f7229699cacf3bdb3dc3ce4a5a479dd35c919c2bf.yml
3-
openapi_spec_hash: 222d76b1af70ef4b692dee4dcf05e57c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-4e747d1e081a07dcd47f7aaed0a8fc18c748658d4c8875f793daf4850e74b47c.yml
3+
openapi_spec_hash: 3a159d7dc86cae47945e678009a197be
44
config_hash: aeabb3a919ad2763f5d0f41961a2520a

CHANGELOG.md

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

3+
## 0.4.9 (2025-08-22)
4+
5+
Full Changelog: [v0.4.8...v0.4.9](https://github.com/scaleapi/agentex-python/compare/v0.4.8...v0.4.9)
6+
7+
## 0.4.8 (2025-08-22)
8+
9+
Full Changelog: [v0.4.7...v0.4.8](https://github.com/scaleapi/agentex-python/compare/v0.4.7...v0.4.8)
10+
11+
## 0.4.7 (2025-08-22)
12+
13+
Full Changelog: [v0.4.6...v0.4.7](https://github.com/scaleapi/agentex-python/compare/v0.4.6...v0.4.7)
14+
15+
### Chores
16+
17+
* update github action ([677e95d](https://github.com/scaleapi/agentex-python/commit/677e95de075b7031cfc4971d7d09769daaa5b2af))
18+
19+
## 0.4.6 (2025-08-20)
20+
21+
Full Changelog: [v0.4.5...v0.4.6](https://github.com/scaleapi/agentex-python/compare/v0.4.5...v0.4.6)
22+
23+
### Features
24+
25+
* **api:** api update ([7b4c80a](https://github.com/scaleapi/agentex-python/commit/7b4c80acb502c29df63a3d66a1b29b653d2e3cf5))
26+
27+
28+
### Chores
29+
30+
* generate release ([0836e4a](https://github.com/scaleapi/agentex-python/commit/0836e4a632e8f3aa0cd05fc6b61581f8c8be9bcd))
31+
332
## 0.4.5 (2025-08-20)
433

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

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 -->

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)