Skip to content

Commit c96164d

Browse files
authored
add "failed" as a valid type for state in endpoints list
1 parent 9e6120f commit c96164d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/together/types/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class BaseEndpoint(TogetherJSONModel):
8686
model: str = Field(description="The model deployed on this endpoint")
8787
type: str = Field(description="The type of endpoint")
8888
owner: str = Field(description="The owner of this endpoint")
89-
state: Literal["PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "ERROR"] = (
89+
state: Literal["PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "FAILED", "ERROR"] = (
9090
Field(description="Current state of the endpoint")
9191
)
9292
created_at: datetime = Field(description="Timestamp when the endpoint was created")

0 commit comments

Comments
 (0)