feat: Add dbgpt client and add api v2

This commit is contained in:
Fangyin Cheng
2024-03-18 18:24:08 +08:00
parent 4970c9f813
commit 0ed30aa44a
39 changed files with 2663 additions and 143 deletions

View File

@@ -18,7 +18,7 @@ class BaseServe(BaseComponent, ABC):
def __init__(
self,
system_app: SystemApp,
api_prefix: str,
api_prefix: str | List[str],
api_tags: List[str],
db_url_or_db: Union[str, URL, DatabaseManager] = None,
try_create_tables: Optional[bool] = False,