修改docker

This commit is contained in:
2025-12-30 17:34:55 +08:00
parent d191b13455
commit b9dbf1e8f7
3 changed files with 142 additions and 151 deletions

View File

@@ -81,7 +81,7 @@ async def search_v1(req: SearchRequest):
# ==========================================
router_v2 = APIRouter()
@router_v2.post("/auto/map")
@router_v2.post("/crawler/map")
async def auto_map(req: AutoMapRequest):
"""
[同步] 输入首页 URL自动调用 Firecrawl Map 并入库
@@ -93,7 +93,7 @@ async def auto_map(req: AutoMapRequest):
except Exception as e:
return make_response(0, str(e))
@router_v2.post("/auto/process")
@router_v2.post("/crawler/process")
async def auto_process(req: AutoProcessRequest, background_tasks: BackgroundTasks):
"""
[异步] 触发后台任务:消费队列 -> 抓取 -> Embedding -> 入库