fix(openai): pass param for all OpenAI-compatible endpoints

Previously, the  field was only added to supported params when the
model name appeared in the official litellm model lists. This silently
dropped  for any custom OpenAI-compatible endpoint (e.g. local
proxies, self-hosted models), with no warning or error.

 is a standard field in the OpenAI Chat Completions API spec and
should be forwarded for all endpoints using the OpenAI provider. Azure AI
already has its own transformation class that handles  independently.

Fixes #25753
This commit is contained in:
Tai An 2026-04-14 23:59:12 -07:00
parent 72a461ba4a
commit 36c4745bb6

File diff suppressed because it is too large Load diff