[PR #3001] [MERGED] Display thinking in the prompt response - model agnostic #4191

Closed
opened 2026-02-22 18:35:19 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3001
Author: @timothycarambat
Created: 1/21/2025
Status: Merged
Merged: 1/22/2025
Merged by: @timothycarambat

Base: masterHead: cot-display


📝 Commits (8)

📊 Changes

4 files changed (+261 additions, -9 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+69 -5)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx (+57 -4)
frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx (+129 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatTooltips/index.jsx (+6 -0)

📄 Description

This updates the UI to include thinking responses in the UI when the model provides it. This targets mostly widely available models like deepseek-r1 but your model thoughts may not be supported.

  • Handles both historical, static, and thought streaming

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3001 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 1/21/2025 **Status:** ✅ Merged **Merged:** 1/22/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `cot-display` --- ### 📝 Commits (8) - [`c3f4079`](https://github.com/Mintplex-Labs/anything-llm/commit/c3f4079cf22a849cef6ef75bd3c6260cc8b7b2c7) CoT Display - [`d63b505`](https://github.com/Mintplex-Labs/anything-llm/commit/d63b5050bf13faacdc1298208ca7da14ba8b3ae6) forgot file - [`e43833d`](https://github.com/Mintplex-Labs/anything-llm/commit/e43833dcf8b03ae526d0bfda49ce7283921e8610) Merge branch 'master' into cot-display - [`d3e1993`](https://github.com/Mintplex-Labs/anything-llm/commit/d3e19939da700aeeb547024cf10592b40edb0aa0) Merge branch 'master' into cot-display - [`820bf06`](https://github.com/Mintplex-Labs/anything-llm/commit/820bf06bc6676eb73d75f2fa86076206a95dec81) preformance optimizations - [`114ef12`](https://github.com/Mintplex-Labs/anything-llm/commit/114ef12d6fd6dee70abc23ea78a8ba343aa55f98) match agent ui on thinking model ui when collapsed - [`20aa4c8`](https://github.com/Mintplex-Labs/anything-llm/commit/20aa4c8348513af3ba510f6cfd5bc19ad3fe826e) style cleanup - [`10bc2c9`](https://github.com/Mintplex-Labs/anything-llm/commit/10bc2c9db74b4942db862bd2372262f767858bb0) spacing fixes ### 📊 Changes **4 files changed** (+261 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+69 -5) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx` (+57 -4) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx` (+129 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatTooltips/index.jsx` (+6 -0) </details> ### 📄 Description This updates the UI to include `thinking` responses in the UI when the model provides it. This targets mostly widely available models like `deepseek-r1` but your model thoughts may not be supported. - Handles both historical, static, and thought streaming --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:19 -05:00
yindo closed this issue 2026-02-22 18:35:20 -05:00
yindo changed title from [PR #3001] Display `thinking` in the prompt response - model agnostic to [PR #3001] [MERGED] Display `thinking` in the prompt response - model agnostic 2026-06-05 15:17:18 -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#4191