mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
(sap) fix after bot review
This commit is contained in:
parent
9e5d3d418f
commit
43d84b1334
1 changed files with 2 additions and 2 deletions
|
|
@ -220,8 +220,8 @@ class GenAIHubOrchestrationConfig(OpenAIGPTConfig):
|
|||
# Filter strict for GPT models only - SAP AI Core doesn't accept it as a model param
|
||||
# LangChain agents pass strict=true at top level, which fails for GPT models
|
||||
# Anthropic models accept strict, so preserve it for them
|
||||
if model.startswith("gpt") and "strict" in optional_params:
|
||||
optional_params.pop("strict")
|
||||
if model.startswith("gpt") and "strict" in params:
|
||||
params.pop("strict")
|
||||
|
||||
model_version = params.pop("model_version", "latest")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue