mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #20464] issue: Claude models with Extended Thinking + Native Tool Use via LiteLLM fail #34721
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @themw123 on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20464
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.43
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When using Claude models with Extended Thinking enabled and triggering a tool call (e.g., MCP tools like Tavily web search) with Native Function Calling enabled, the tool should execute successfully and return results to the conversation.
This works correctly with other clients connecting to the same LiteLLM proxy:
Actual Behavior
OpenWebUI fails with an
invalid_request_errorwhen the model attempts to use a tool via Native Function Calling. The API returns a 400 error indicating that the assistant message doesn't start with a requiredthinkingblock.Note: This issue only occurs when "Native Function Calling" is enabled in OpenWebUI settings.
Steps to Reproduce
claude-opus-4-5-thinking)Logs & Screenshots
Additional Information
Related Issues
@owui-terminator[bot] commented on GitHub (Jan 7, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
by qq3829596922 • Dec 04, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.