Skip to content

fix(proxy): bump health-check max_tokens default to 16 for GPT-5 compatibility - #30708

Merged
Sameerlite merged 1 commit into
BerriAI:litellm_oss_stagingfrom
tcconnally:fix/health-check-max-tokens-23836
Jun 18, 2026
Merged

Sameerlite merged 1 commit into
BerriAI:litellm_oss_stagingfrom
tcconnally:fix/health-check-max-tokens-23836

fix(proxy): bump health-check max_tokens default to 16 for GPT-5 comp…

21b99b8
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Jun 19, 2026 in 2s

Error when processing the SARIF file

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

Other Alerts:

  • 23 warnings
  • 94 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 191 in ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_info.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'promptData' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'modelDataResponse' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'userID' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'userRole' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'token' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'accessToken' always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This expression always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This expression always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This expression always evaluates to true.

Check warning on line 243 in ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This expression always evaluates to true.

Check warning on line 302 in ui/litellm-dashboard/src/app/(dashboard)/playground/llm_calls/a2a_send_message.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This negation always evaluates to true.

Check warning on line 223 in ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/Fallbacks.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'accessToken' always evaluates to true.

Check warning on line 245 in ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/Fallbacks.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'accessToken' always evaluates to true.

Check warning on line 786 in ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'selectedModel' always evaluates to true.

Check warning on line 759 in ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'isLoading' always evaluates to false.

Check warning on line 771 in ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'isLoading' always evaluates to false.

Check warning on line 922 in ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'providerParams' always evaluates to true.

Check warning on line 187 in ui/litellm-dashboard/src/app/(dashboard)/prompts/components/index.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Comparison between inconvertible types Warning

Variable 'promptToDelete' cannot be of type null, but it is compared to
an expression
of type null.

Check notice on line 634 in ui/litellm-dashboard/src/components/OldTeams.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable handleFilterReset.

Check notice on line 377 in ui/litellm-dashboard/src/components/OldTeams.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable handleMemberCancel.

Check notice on line 129 in ui/litellm-dashboard/src/components/add_model/RouterConfigBuilder.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable handleUtterancesChange.

Check notice on line 31 in ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable Link.

Check notice on line 72 in ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable AntdTitle.

Check notice on line 362 in ui/litellm-dashboard/src/components/OldTeams.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable handleMemberOk.

Check notice on line 247 in ui/litellm-dashboard/src/components/OldTeams.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable mcpAccessGroups.