Skip to content

Commit f61fb15

Browse files
feat(api): api update
1 parent f8cf261 commit f61fb15

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.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-6eec9554350594d13aa61f6d3c384a54cbaba95481ee06c228a9d0a0aefaeda8.yml
3-
openapi_spec_hash: 63770414d1be9807d9b7ebbef0ae9fee
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-4ae441fa9819e53daaaa92486ff99eee5b638eeee7237f535b6de9b53868b6a8.yml
3+
openapi_spec_hash: 05bfd452bc8d456f546a8273bb1718f8
44
config_hash: aeabb3a919ad2763f5d0f41961a2520a

src/agentex/resources/tasks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def stream_events(
232232
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
233233
) -> Stream[object]:
234234
"""
235-
Stream message updates for a task by its unique ID.
235+
Stream events for a task by its unique ID.
236236
237237
Args:
238238
extra_headers: Send extra headers
@@ -267,7 +267,7 @@ def stream_events_by_name(
267267
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
268268
) -> Stream[object]:
269269
"""
270-
Stream message updates for a task by its unique name.
270+
Stream events for a task by its unique name.
271271
272272
Args:
273273
extra_headers: Send extra headers
@@ -497,7 +497,7 @@ async def stream_events(
497497
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
498498
) -> AsyncStream[object]:
499499
"""
500-
Stream message updates for a task by its unique ID.
500+
Stream events for a task by its unique ID.
501501
502502
Args:
503503
extra_headers: Send extra headers
@@ -532,7 +532,7 @@ async def stream_events_by_name(
532532
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
533533
) -> AsyncStream[object]:
534534
"""
535-
Stream message updates for a task by its unique name.
535+
Stream events for a task by its unique name.
536536
537537
Args:
538538
extra_headers: Send extra headers

src/agentex/types/task.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ class Task(BaseModel):
2222

2323
status_reason: Optional[str] = None
2424

25+
task_metadata: Optional[Dict[str, object]] = None
26+
2527
updated_at: Optional[datetime] = None

0 commit comments

Comments
 (0)