mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
chore(responses): suppress helper call diagnostics
This commit is contained in:
parent
031cad4cfd
commit
97e201b1c6
1 changed files with 2 additions and 2 deletions
|
|
@ -138,12 +138,12 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):
|
|||
unsupported_effort: Final = (
|
||||
effort == "xhigh"
|
||||
and not OpenAIGPT5Config._supports_reasoning_effort_level( # pyright: ignore[reportPrivateUsage, reportArgumentType, reportCallIssue] # shared GPT-5 capability gate
|
||||
model, effort
|
||||
model, effort # pyright: ignore[reportArgumentType, reportCallIssue] # shared helper call
|
||||
)
|
||||
) or (
|
||||
effort in ("minimal", "low")
|
||||
and OpenAIGPT5Config._is_reasoning_effort_level_explicitly_disabled( # pyright: ignore[reportPrivateUsage, reportArgumentType, reportCallIssue] # shared GPT-5 capability gate
|
||||
model, effort
|
||||
model, effort # pyright: ignore[reportArgumentType, reportCallIssue] # shared helper call
|
||||
)
|
||||
)
|
||||
if unsupported_effort:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue