docs: 更新文档路径引用,移除硬编码密钥,修复 Docker 配置
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 7m1s

This commit is contained in:
2026-04-22 00:43:06 +08:00
parent 38646001e6
commit a869d884b7
7 changed files with 125 additions and 90 deletions

View File

@@ -20,7 +20,7 @@ class LLaMaCPPReranker:
Args:
base_url: llama.cpp 服务的地址和端口,默认为环境变量 LLAMACPP_RERANKER_URL 或 "http://127.0.0.1:8083"
top_n: 返回前 N 个结果。
api_key: API 密钥,默认为环境变量 LLAMACPP_API_KEY "huang1998"
api_key: API 密钥,默认为环境变量 LLAMACPP_API_KEY 。
timeout: 请求超时时间(秒)。
"""
self.base_url = base_url