mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #21496] [CLOSED] feat: add "Show Tool Call Output" interface toggle #49152
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21496
Author: @Classic298
Created: 2/16/2026
Status: ❌ Closed
Base:
dev← Head:tool-UI📝 Commits (2)
a5d1560feat: add "Show Tool Call Output" interface toggleebb4d54Update ToolCallDisplay.svelte📊 Changes
4 files changed (+84 additions, -7 deletions)
View changed files
📝
src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte(+1 -0)📝
src/lib/components/chat/Settings/Interface.svelte(+21 -0)📝
src/lib/components/common/ToolCallDisplay.svelte(+61 -7)📝
src/lib/stores/index.ts(+1 -0)📄 Description
Add a new per-user interface toggle under Settings > Interface that controls how tool calls are displayed when expanded in the chat UI. The toggle defaults to on, preserving the existing behavior. When turned off:
Files changed:
1. Would fix: #21440
2. Relates to: https://github.com/open-webui/open-webui/issues/20598
3. Improves: #20878
On by default for backwards compatibility
If toggled on - all tool output no longer gets shown - and tool input gets shown in a key: value format instead of JSON
This should also really help this issue here with hard performance issues with many codeblocks and long response outputs: https://github.com/open-webui/open-webui/discussions/20878
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.