fix: remove api_key from config.yaml, read from EMBED_API_KEY env var; unify config path constant

This commit is contained in:
2026-07-05 01:30:46 +08:00
parent 10f9aaede4
commit 5dcf1eed52
6 changed files with 928 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ embed:
mode: local # local | api
local_model: BAAI/bge-small-zh-v1.5
api_base: "" # api 模式下填写
api_key: "" # api 模式下填写
# api_key 请通过环境变量 EMBED_API_KEY 设置
chunk:
max_size: 1000 # 分块最大字符数