From 1bcb208f92a217ecbf4e489b8ca2fddd39430e9a Mon Sep 17 00:00:00 2001 From: wangwei Date: Mon, 22 Jun 2026 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Dify=20score=20API=20complete=20?= =?UTF-8?q?=E2=80=94=20add=20SCORE=5FAPI=5FTOKEN=20to=20.env.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index de3949c..e430e6b 100644 --- a/.env.example +++ b/.env.example @@ -30,3 +30,8 @@ PARSER_FAILURE_MODE=fail # 生成题库时使用的模型(可在 Web 控制台 LLM 配置中按场景覆盖) DATASET_GENERATOR_MODEL=qwen3.6-plus + +# ===== Dify 集成 — 实时评分 API ===== +# 为 /api/score 端点设置 Bearer Token 鉴权(留空则不鉴权,适合内网部署) +# Dify 外部 Tool 配置 Authorization: Bearer <此处填写相同值> +SCORE_API_TOKEN=