CLI_MAX_RETRIES_KEY = '__deepagents_cli_max_retries__'Internal carrier key for the --max-retries CLI flag.
cli_main stashes the flag value under this key in the model_params dict it
forwards to the run, and create_model pops it before constructing the model.
This lets the CLI value ride the existing model_params/extra_kwargs carrier
to the one place that authoritatively resolves the provider, where it can be
folded under the provider's resolved retry-param name (see
_resolve_retry_param_name) rather than a hardcoded max_retries.
The key is internal-only: it is popped before reaching any model constructor and is never serialized or surfaced to users. It is deliberately unlikely to collide with a real constructor kwarg name.