feat(网关): 接口4 改由网关本机直接调豆包视觉模型,不再代理到 worker

- gateway/app.py: 接口4 handler 改为直接调用 face_features 模块
- face_features.py: API Key 读取支持 gateway/config.json
- gateway/config.example.json: 增加 ark_api_key 配置项
This commit is contained in:
Ubuntu
2026-06-15 20:46:12 +08:00
parent 043a4c0603
commit 68fe1c1406
3 changed files with 81 additions and 15 deletions
+1
View File
@@ -13,6 +13,7 @@
"unhealthy_threshold": 2,
"healthy_threshold": 1
},
"ark_api_key": "",
"dispatch": {
"per_worker_concurrency": 1,
"queue_wait_seconds": 30,