Skip to content

Commit

Permalink
chore: remove status attr in response for generating semantics descri…
Browse files Browse the repository at this point in the history
…ption task
  • Loading branch information
paopa committed Oct 4, 2024
1 parent 6eadb02 commit e3edebb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wren-ai-service/src/web/v1/services/semantics_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class SemanticsDescription:
Response:
{
"id": "unique_id", # Unique identifier for the generated description
"status": "generating" # Initial status
}
2. GET /v1/semantics-descriptions/{id}
Expand Down Expand Up @@ -84,7 +83,7 @@ class Error(BaseModel):
message: str

id: str
status: Literal["generating", "finished", "failed"] = "generating"
status: Literal["generating", "finished", "failed"] = None
response: Optional[dict] = None
error: Optional[Error] = None

Expand Down

0 comments on commit e3edebb

Please sign in to comment.