mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-30 22:08:26 +00:00
Reorganize app/gateway/ with: - common/ - lifespan management - dependencies/ - FastAPI dependency injection (db, checkpointer, repositories, stream_bridge) - services/runs/ - run execution services (facade_factory, input adapters, store operations) - registrar.py - router registration - router.py - main router setup Simplify app.py to use the new modular structure. Remove deprecated utils.py. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
116 B
Python
9 lines
116 B
Python
from app.gateway.registrar import register_app
|
|
|
|
|
|
def create_app():
|
|
return register_app()
|
|
|
|
|
|
app = register_app()
|