mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 19:11:52 +00:00
feat(agent): Release agent SDK (#1396)
This commit is contained in:
27
dbgpt/agent/core/schema.py
Normal file
27
dbgpt/agent/core/schema.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""Schema definition for the agent."""
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class PluginStorageType(Enum):
|
||||
"""Plugin storage type."""
|
||||
|
||||
Git = "git"
|
||||
Oss = "oss"
|
||||
|
||||
|
||||
class ApiTagType(Enum):
|
||||
"""API tag type."""
|
||||
|
||||
API_VIEW = "dbgpt_view"
|
||||
API_CALL = "dbgpt_call"
|
||||
|
||||
|
||||
class Status(Enum):
|
||||
"""Status of a task."""
|
||||
|
||||
TODO = "todo"
|
||||
RUNNING = "running"
|
||||
WAITING = "waiting"
|
||||
RETRYING = "retrying"
|
||||
FAILED = "failed"
|
||||
COMPLETE = "complete"
|
Reference in New Issue
Block a user