feat(tenant): make monitoring parse & compliance judge models configurable

Replace the hardcoded doubao-lite model used for monitoring answer
parsing and compliance LLM judging with configurable values, resolved
from config with env overrides and a legacy default fallback.

- Add llm.monitoring_answer_parse_model and compliance.llm_judge_model
  to config struct, env overrides, and all config files
- Thread the resolved model through MonitoringCallbackService via a
  ConfigProvider and into parseMonitoringAnswerWithLLM
- Pass compliance.llm_judge_model into the review-job LLM request

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 17:04:01 +08:00
parent fb142e4ca7
commit c8dceb43d7
13 changed files with 103 additions and 17 deletions
+2
View File
@@ -212,6 +212,7 @@ llm:
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
model: doubao-seed-2-0-pro-260215 # doubao-seed-2-0-lite-260215 #
knowledge_url_model: doubao-seed-2-0-mini-260215 #doubao-seed-2-0-mini-260215
monitoring_answer_parse_model: doubao-seed-2-0-lite-260215
timeout: 2m
max_output_tokens: 16000
temperature: 0.7
@@ -221,6 +222,7 @@ llm:
compliance:
enabled: true
llm_judge_enabled: false
llm_judge_model: "" # 留空时使用 llm.model
snapshot_reload_interval: 30s
publish_gate_timeout: 800ms
review_worker_concurrency: 1
+2
View File
@@ -194,6 +194,7 @@ llm:
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
model: doubao-seed-2-0-pro-260215 # doubao-seed-2-0-lite-260215 #
knowledge_url_model: doubao-seed-2-0-mini-260215 #doubao-seed-2-0-mini-260215
monitoring_answer_parse_model: doubao-seed-2-0-lite-260215
timeout: 2m
max_output_tokens: 16000
temperature: 0.7
@@ -203,6 +204,7 @@ llm:
compliance:
enabled: true
llm_judge_enabled: false
llm_judge_model: "doubao-seed-2-0-lite-260215" # 留空时使用 llm.model
snapshot_reload_interval: 30s
publish_gate_timeout: 800ms
review_worker_concurrency: 1