mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #66] issue: reasoning directly displayed in chat and not being collapsed #29
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Classic298 on GitHub (Jun 17, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/66
@tjbck commented on GitHub (Jun 18, 2026):
ways to reproduce?
@Classic298 commented on GitHub (Jun 18, 2026):
Litellm
Model
Model detail set to merge_reasoning_content_in_choices: true which is required for reasoning to work in open webui
@tjbck commented on GitHub (Jun 18, 2026):
latest? unable to reproduce with lmstudio
@Classic298 commented on GitHub (Jun 18, 2026):
yes latest, only tested with litellm
@tjbck commented on GitHub (Jun 18, 2026):
logs/screenrecordings?
@Classic298 commented on GitHub (Jun 18, 2026):
Photo of bug:
Reasoning clearly present
Model is gpt 5.4
@tjbck commented on GitHub (Jun 18, 2026):
responses api? chat completion api?
@Classic298 commented on GitHub (Jun 18, 2026):
chat completion api - but - via responses bridge
cptr -> chat completions -> litellm -> responses -> openai
@Classic298 commented on GitHub (Jun 18, 2026):
openai/responses/gpt-5.4 in litellm as model name with merge_reasoning_content_in_choices: true and the reasoning_summary set to detailed
@tjbck commented on GitHub (Jun 18, 2026):
Are you sure it's being sent as
reasoning_content?@Classic298 commented on GitHub (Jun 18, 2026):
its definitely not sent as reasoning_content but as
<think>text</think>tags@Classic298 commented on GitHub (Jun 18, 2026):
https://docs.litellm.ai/docs/tutorials/openweb_ui#render-thinking-content-on-open-webui
@tjbck commented on GitHub (Jun 18, 2026):
Thanks, that confirms it. cptr won’t support
<think>...</think>parsing; it’s inherently brittle.Please check whether LiteLLM can emit
reasoning_contentinstead. That’s effectively the standard OpenAI-compatible way to carry reasoning now. If LiteLLM only supports<think>tags for this bridge, this should be escalated/fixed in LiteLLM.@Classic298 commented on GitHub (Jun 18, 2026):
@tjbck does Open WebUI support reasoning_content already?
@Classic298 commented on GitHub (Jun 18, 2026):
but thanks can be closed then ig
@tjbck commented on GitHub (Jun 18, 2026):
yep open webui has builtin reasoning_content support