θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@shatfield4
Copy link
Collaborator

@shatfield4 shatfield4 commented Jun 4, 2024

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

@shatfield4 shatfield4 linked an issue Jun 4, 2024 that may be closed by this pull request
@shatfield4 shatfield4 removed the request for review from timothycarambat June 5, 2024 00:01
@shatfield4 shatfield4 marked this pull request as draft June 5, 2024 00:01
@shatfield4 shatfield4 changed the title [CHORE] Rename new threads on thread creation [FEAT] Rename new threads on thread creation Jun 5, 2024
@shatfield4
Copy link
Collaborator Author

WIP automatic thread renaming

@shatfield4 shatfield4 marked this pull request as ready for review June 5, 2024 21:00
@timothycarambat timothycarambat added the PR:needs review Needs review by core team label Jun 6, 2024
@shatfield4
Copy link
Collaborator Author

shatfield4 commented Jun 7, 2024

@timothycarambat

  • Removed LLM used for thread naming
  • Uses custom events/chatHandler event listener on frontend to rename thread

@timothycarambat timothycarambat merged commit 3c98d15 into master Jun 7, 2024
@timothycarambat timothycarambat deleted the 1606-feat-rename-new-thread-when-thread-is-created branch June 7, 2024 21:06
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Jul 31, 2024
* make thread name 'Thread' when new thread is created

* implement auto generated thread titles

* implement truncated prompt as thread name

* move rename of thread into workspaceThread function

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 1, 2024
* make thread name 'Thread' when new thread is created

* implement auto generated thread titles

* implement truncated prompt as thread name

* move rename of thread into workspaceThread function

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 2, 2024
* make thread name 'Thread' when new thread is created

* implement auto generated thread titles

* implement truncated prompt as thread name

* move rename of thread into workspaceThread function

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 3, 2024
* make thread name 'Thread' when new thread is created

* implement auto generated thread titles

* implement truncated prompt as thread name

* move rename of thread into workspaceThread function

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* make thread name 'Thread' when new thread is created

* implement auto generated thread titles

* implement truncated prompt as thread name

* move rename of thread into workspaceThread function

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

3 participants