forked from admin/PlantAI-rag-new
- QA pipeline/answer_composer/agentic_controller: env 检查从 =1 改 ==0 (默认放行;运维显式设 0 才禁用) - SDK qa.py: capabilities(web_search/superpowers) 注入上游,面板开关直达 QA - answer_composer: superpowers 改会话开关门控(capabilities.superpowers) - UI: 去掉 gated_by 提示(开关即生效,不再误导) - env: QA_V1_ENABLE_WEB_SEARCH/SUPERPOWERS 默认 1(熔断位) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
agent/ —— 底层服务三件套
| 目录 | 服务 | 端口 | 入口(白名单明文) | conda |
|---|---|---|---|---|
| qa/ | QA V1.1.73 断言锚定检索 | 8091 | scripts/qa_v1_1_73_server.py | plantai-rag-new-venv |
| methodology/ | Methodology 提取 | 8092 | scripts/methodology_server.py | plantai-rag-new-venv |
| legacy-rag/ | 旧路由族(app 3 路由/main 11 族) | 8093 | api/app.py | plantai-rag-new-venv |
| vendor/ | 共享源码池(非服务) | — | — | — |
约束:仅 shell 启动(scripts/{start,stop,status,restart}.sh);编译产物 .so 隐藏源码;compile.manifest 记录模块级白名单。vendor 为源码单份,编译时复制进各 agent 暂存目录。