[Bugfix] Keep --disable-log-stats out of stage config resolution (#7237)

Signed-off-by: Chenguang ZHENG <645327136@qq.com>
This commit is contained in:
Chenguang Zheng authored and GitHub committed 2026-09-08 16:19:07 +08:00
1 parent c086554d1f
commit f3fabe4145
4 files changed
+111

No files matched your search

+3
View File
@@ -1025,6 +1025,9 @@ class AsyncOmniEngine:
if legacy_arg in kwargs:
raise ValueError(f"`{legacy_arg}` is no longer supported; use `deploy_config` instead.")
# log_stats is captured by __init__; its CLI-only negative alias must
# not cross into per-stage structured config ownership validation.
kwargs.pop("disable_log_stats", None)
deploy_config_path = kwargs.pop("deploy_config", None)
strategy_config_path = kwargs.pop("strategy_config", None)
# CLI callers arrive pre-parsed; offline Python callers may use the