mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(_types): restore ResponsesAPIResponse import and add use_xai_oauth to filter list
Two related fixes: 1. Re-add ResponsesAPIResponse import in _types.py — it was removed but still needed in PassThroughEndpointLoggingResultValues (used in openai_passthrough_logging_handler.py). 2. Add use_xai_oauth to all_litellm_params so it is filtered before forwarding kwargs to providers like OpenAI that do not recognize it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d91d3a27f8
commit
8f54ab2493
2 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ from litellm.litellm_core_utils.initialize_dynamic_callback_params import (
|
|||
from litellm.types.integrations.slack_alerting import AlertType
|
||||
from litellm.types.llms.openai import (
|
||||
AllMessageValues,
|
||||
ResponsesAPIResponse,
|
||||
)
|
||||
from litellm.types.mcp import (
|
||||
MCPAuthType,
|
||||
|
|
@ -3834,6 +3835,7 @@ PassThroughEndpointLoggingResultValues = Union[
|
|||
EmbeddingResponse,
|
||||
VideoObject,
|
||||
StandardPassThroughResponseObject,
|
||||
ResponsesAPIResponse,
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3224,6 +3224,7 @@ all_litellm_params = (
|
|||
"search_tool_name",
|
||||
"order",
|
||||
"enable_json_schema_validation",
|
||||
"use_xai_oauth",
|
||||
]
|
||||
+ list(StandardCallbackDynamicParams.__annotations__.keys())
|
||||
+ list(CustomPricingLiteLLMParams.model_fields.keys())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue