* feat(config): add when_thinking_disabled support for model configs Allow users to explicitly configure what parameters are sent to the model when thinking is disabled, via a new `when_thinking_disabled` field in model config. This mirrors the existing `when_thinking_enabled` pattern and takes full precedence over the hardcoded disable behavior when set. Backwards compatible — existing configs work unchanged. Closes #1675 * fix(config): address copilot review — gate when_thinking_disabled independently - Switch truthiness check to `is not None` so empty dict overrides work - Restructure disable path so when_thinking_disabled is gated independently of has_thinking_settings, allowing it to work without when_thinking_enabled - Update test to reflect new behavior |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| claude_provider.py | ||
| credential_loader.py | ||
| factory.py | ||
| openai_codex_provider.py | ||
| patched_deepseek.py | ||
| patched_minimax.py | ||
| patched_openai.py | ||
| vllm_provider.py | ||