feat(main/cli/script):新增codex配置cli和健康检查接口

This commit is contained in:
Pine
2026-05-26 12:15:29 +08:00
parent 492b72c3d7
commit be623f4c70
7 changed files with 296 additions and 6 deletions
+5
View File
@@ -49,6 +49,11 @@ app = FastAPI(
lifespan=create_lifespan,
)
@app.get("/health")
async def health_check():
"""健康检查端点"""
return {"status": "ok"}
# 配置中间件
setup_middleware(app)