标书生成与审查
This commit is contained in:
@@ -11,7 +11,10 @@ from app.modules.work_assistant.routes import router
|
||||
def create_assistant_app() -> FastAPI:
|
||||
@asynccontextmanager
|
||||
async def lifespan(app):
|
||||
from app.modules.work_assistant.bid_queue import bid_queue
|
||||
bid_queue.start()
|
||||
yield
|
||||
bid_queue.close()
|
||||
from app.modules.work_assistant.model_gateway import close_model_client
|
||||
close_model_client()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user