mirror of
https://github.com/NVIDIA-NeMo/DataDesigner
synced 2026-05-24 09:48:29 +00:00
* fix: preserve extra_body for LiteLLM to avoid UnsupportedParamsError (#409) TransportKwargs.from_request() flattened extra_body keys into top-level kwargs, causing LiteLLM to reject provider-specific params like reasoning_effort via its per-provider allowlist validation. Add a flatten_extra_body flag (default True for backward compat) so the LiteLLM bridge can opt out and preserve extra_body as a distinct kwarg that LiteLLM forwards without validation. Made-with: Cursor * fix: address PR #412 review comments Update stale docstrings in TransportKwargs and facade.py to reflect the new flatten_extra_body flag, and add an edge-case test for empty extra_body with flatten disabled. |
||
|---|---|---|
| .. | ||
| clients | ||
| parsers | ||
| recipes | ||
| conftest.py | ||
| stub_secrets.json | ||
| test_async_engine_switch.py | ||
| test_facade.py | ||
| test_litellm_overrides.py | ||
| test_model_errors.py | ||
| test_model_registry.py | ||
| test_model_utils.py | ||
| test_usage.py | ||