Add judge_language config plumbing (settings + scenario + ScoreRequest)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
wangwei
2026-07-01 17:47:21 +08:00
co-authored by Copilot
parent 03e682b89c
commit 4a646b6b9c
6 changed files with 95 additions and 0 deletions
+1
View File
@@ -64,6 +64,7 @@ def load_scenario(path: str | Path) -> Scenario:
optimization_advisor=model.optimization_advisor,
metric_weights=dict(model.metric_weights),
doc_weights=dict(model.doc_weights),
judge_language=model.judge_language,
)
# Run cross-field checks after all relative paths have been resolved.
validate_scenario(scenario)