feat: Run AWEL flow in CLI (#1341)

This commit is contained in:
Fangyin Cheng
2024-03-27 12:50:05 +08:00
committed by GitHub
parent 340a9fbc35
commit 3a7a2cbbb8
42 changed files with 1454 additions and 422 deletions

View File

@@ -114,3 +114,11 @@ class ChatCompletionResponse(BaseModel):
..., description="Chat completion response choices"
)
usage: UsageInfo = Field(..., description="Usage info")
class ErrorResponse(BaseModel):
"""Error response entity."""
object: str = Field("error", description="Object type")
message: str = Field(..., description="Error message")
code: int = Field(..., description="Error code")