mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-15 22:19:28 +00:00
feat: Run AWEL flow in CLI (#1341)
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user