mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
docs: document chatgpt image responses fallback
This commit is contained in:
parent
f97780a636
commit
4c653a5749
1 changed files with 4 additions and 0 deletions
|
|
@ -144,6 +144,10 @@ class ChatGPTImageGenerationConfig(BaseImageGenerationConfig):
|
|||
) -> dict:
|
||||
self._validate_openai_image_generation_params(model, optional_params)
|
||||
|
||||
# Intentionally pinned fallback for ChatGPT image generation through the
|
||||
# Codex Responses API. Users can override this per request, via
|
||||
# litellm_params, or with CHATGPT_IMAGE_RESPONSES_MODEL without requiring
|
||||
# a LiteLLM release.
|
||||
responses_model = (
|
||||
optional_params.pop("chatgpt_responses_model", None)
|
||||
or litellm_params.get("chatgpt_responses_model")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue