[GH-ISSUE #3050] [FEAT]: Better Rendering for <think> Tag Content #1951

Closed
opened 2026-02-22 18:27:23 -05:00 by yindo · 1 comment
Owner

Originally created by @FischLu on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3050

What would you like to see?

When using ollama's deepseek, the returned answers include a thinking process wrapped in tags. However, in the current AnythingLLM version, the font and background color of this thinking process are identical to the answer itself. When the thinking process is particularly long, it becomes quite difficult to distinguish between the thinking content and the final answer. Could we automatically render the text within the tags with a different background color? Additionally, could you provide a folding feature for these sections? Thank you!

Image
Originally created by @FischLu on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3050 ### What would you like to see? When using ollama's deepseek, the returned answers include a thinking process wrapped in <think> tags. However, in the current AnythingLLM version, the font and background color of this thinking process are identical to the answer itself. When the thinking process is particularly long, it becomes quite difficult to distinguish between the thinking content and the final answer. Could we automatically render the text within the <think> tags with a different background color? Additionally, could you provide a folding feature for these sections? Thank you! <img width="998" alt="Image" src="https://github.com/user-attachments/assets/7a1a5acf-fce7-4e32-afc7-75fd48463846" />
yindo added the enhancementfeature request labels 2026-02-22 18:27:23 -05:00
yindo closed this issue 2026-02-22 18:27:23 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 29, 2025):

Already done. This is a duplicate of https://github.com/Mintplex-Labs/anything-llm/pull/3001

It just is not live in desktop yet.

@timothycarambat commented on GitHub (Jan 29, 2025): Already done. This is a duplicate of https://github.com/Mintplex-Labs/anything-llm/pull/3001 It just is not live in desktop yet.
yindo changed title from [FEAT]: Better Rendering for <think> Tag Content to [GH-ISSUE #3050] [FEAT]: Better Rendering for <think> Tag Content 2026-06-05 14:43:38 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1951