[PR #1607] [MERGED] [FEAT] Rename new threads on thread creation #3721

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1607
Author: @shatfield4
Created: 6/4/2024
Status: Merged
Merged: 6/7/2024
Merged by: @timothycarambat

Base: masterHead: 1606-feat-rename-new-thread-when-thread-is-created


📝 Commits (6)

  • d003613 make thread name 'Thread' when new thread is created
  • 433a823 implement auto generated thread titles
  • b9b6ec5 Merge branch 'master' into 1606-feat-rename-new-thread-when-thread-is-created
  • 25b4e58 implement truncated prompt as thread name
  • 19c9cf2 Merge branch 'master' into 1606-feat-rename-new-thread-when-thread-is-created
  • 66d64fa move rename of thread into workspaceThread function

📊 Changes

7 files changed (+72 additions, -13 deletions)

View changed files

📝 frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx (+3 -12)
📝 frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx (+20 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/index.jsx (+13 -0)
📝 server/endpoints/chat.js (+10 -0)
📝 server/models/workspaceThread.js (+20 -1)
📝 server/package.json (+1 -0)
📝 server/yarn.lock (+5 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1606
resolves #1454
resolves #701

What is in this change?

  • When a new thread is created, we name the thread "Thread" instead of "New thread" to avoid confusion
  • Truncate first message sent to thread and set as thread name to differentiate threads

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/1607 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 6/7/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1606-feat-rename-new-thread-when-thread-is-created` --- ### 📝 Commits (6) - [`d003613`](https://github.com/Mintplex-Labs/anything-llm/commit/d003613bb1a960efa36723c3b31e4697a8335b34) make thread name 'Thread' when new thread is created - [`433a823`](https://github.com/Mintplex-Labs/anything-llm/commit/433a823fd6a7f28c41dc762dba25babaf8953b40) implement auto generated thread titles - [`b9b6ec5`](https://github.com/Mintplex-Labs/anything-llm/commit/b9b6ec51aa9514641ce2455aafeeb1547a0ea357) Merge branch 'master' into 1606-feat-rename-new-thread-when-thread-is-created - [`25b4e58`](https://github.com/Mintplex-Labs/anything-llm/commit/25b4e58933891a69e3173393b4311cd02dd8716a) implement truncated prompt as thread name - [`19c9cf2`](https://github.com/Mintplex-Labs/anything-llm/commit/19c9cf2bdffc88d3610c6c5e14b39c872e2de32c) Merge branch 'master' into 1606-feat-rename-new-thread-when-thread-is-created - [`66d64fa`](https://github.com/Mintplex-Labs/anything-llm/commit/66d64fab345804f5e1fba4d33358f37dcd68f116) move rename of thread into workspaceThread function ### 📊 Changes **7 files changed** (+72 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx` (+3 -12) 📝 `frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx` (+20 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/index.jsx` (+13 -0) 📝 `server/endpoints/chat.js` (+10 -0) 📝 `server/models/workspaceThread.js` (+20 -1) 📝 `server/package.json` (+1 -0) 📝 `server/yarn.lock` (+5 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1606 resolves #1454 resolves #701 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - When a new thread is created, we name the thread "Thread" instead of "New thread" to avoid confusion - Truncate first message sent to thread and set as thread name to differentiate threads ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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:34:22 -05:00
yindo closed this issue 2026-02-22 18:34:22 -05:00
yindo changed title from [PR #1607] [FEAT] Rename new threads on thread creation to [PR #1607] [MERGED] [FEAT] Rename new threads on thread creation 2026-06-05 15:14:53 -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#3721