From 1a929732f65c8fd97c2d257cb140c97cf458474c Mon Sep 17 00:00:00 2001 From: Dan Saunders Date: Sat, 13 Dec 2025 08:57:08 -0500 Subject: [PATCH] bugfix --- cli/options.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/options.py b/cli/options.py index c8a08e59f2..dbc66a9931 100644 --- a/cli/options.py +++ b/cli/options.py @@ -135,7 +135,9 @@ def add_options_from_config(config_class: type[BaseModel]) -> Callable: if key in field_names: if kwargs[key] is not None: config_overrides[key] = kwargs[key] - del kwargs[key] + # Only delete if not an explicitly declared parameter + if key not in original_param_names: + del kwargs[key] kwargs["config_overrides"] = config_overrides return func(*args, **kwargs)