mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 05:49:22 +00:00
feat(core): Upgrade pydantic to 2.x (#1428)
This commit is contained in:
@@ -218,9 +218,9 @@ async def run_model(wh: WorkerManager) -> None:
|
||||
|
||||
|
||||
def startup_llm_env():
|
||||
from fastapi import FastAPI
|
||||
from dbgpt.util.fastapi import create_app
|
||||
|
||||
app = FastAPI()
|
||||
app = create_app()
|
||||
initialize_worker_manager_in_client(
|
||||
app=app,
|
||||
model_name=model_name,
|
||||
|
Reference in New Issue
Block a user