Skip to content

Commit 0c1dedd

Browse files
feat(api): api update
1 parent 800f2a9 commit 0c1dedd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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-acd4964141cd927e96d16bc9c7da30082aa4abab3489e21824bb96732ae31b32.yml
3-
openapi_spec_hash: 0576503fa5b2972d6c43981bcb494010
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-c34c0577d9716c22554633ecb41d091675248d1385e9d1cc7c19479d55b56cb1.yml
3+
openapi_spec_hash: 3daaeab87b12b271ba2ee39e7dc166f2
44
config_hash: 6481ea6b42040f435dedcb00a98f35f8

src/agentex/types/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Agent(BaseModel):
3535
registration_metadata: Optional[Dict[str, object]] = None
3636
"""The metadata for the agent's registration."""
3737

38-
status: Optional[Literal["Pending", "Building", "Ready", "Failed", "Unknown"]] = None
38+
status: Optional[Literal["Ready", "Failed", "Unknown", "Deleted"]] = None
3939
"""The status of the action, indicating if it's building, ready, failed, etc."""
4040

4141
status_reason: Optional[str] = None

src/agentex/types/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Task(BaseModel):
1818

1919
params: Optional[Dict[str, object]] = None
2020

21-
status: Optional[Literal["CANCELED", "COMPLETED", "FAILED", "RUNNING", "TERMINATED", "TIMED_OUT"]] = None
21+
status: Optional[Literal["CANCELED", "COMPLETED", "FAILED", "RUNNING", "TERMINATED", "TIMED_OUT", "DELETED"]] = None
2222

2323
status_reason: Optional[str] = None
2424

0 commit comments

Comments
 (0)