feat: implement branching functionality for chat threads#158
Open
notshekhar wants to merge 6 commits intocgoinglove:mainfrom
Open
feat: implement branching functionality for chat threads#158notshekhar wants to merge 6 commits intocgoinglove:mainfrom
notshekhar wants to merge 6 commits intocgoinglove:mainfrom
Conversation
Added a new action to branch out from an existing chat thread, creating a new thread with the selected message and linking it to the parent thread. Updated UI components to support this feature, including the addition of a GitBranch icon for visual representation of parent threads.
|
@notshekhar is attempting to deploy a commit to the cgoinglove's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
…nto feat/chat-branch
Updated the ChatThread type to make parentThreadId optional and modified the chat repository to default it to null if not provided. This change improves the handling of chat threads without a parent.
Collaborator
|
Nice, thanks for your support on this project |
brrock
reviewed
Jul 15, 2025
Collaborator
brrock
left a comment
There was a problem hiding this comment.
Please remove the prettier file
Contributor
Author
|
Okay, I'll remove the Prettier configuration file. I originally created it to ensure the entire team shares a consistent Prettier setup. otherwise, my local Prettier would reformat files in a completely different style. @brrock |
Collaborator
|
We use biome, it probably run using lint staged so could you use that, pnpm format |
Owner
Changed the model reference for "gemini-2.5-flash" from "gemini-2.5-flash-preview-04-17" to "gemini-2.5-flash" for consistency and accuracy in model usage.
Eliminated the mention display section from the PromptInput component to streamline the UI and improve maintainability. This change focuses on enhancing the overall user experience by simplifying the component structure.
brrock
reviewed
Jul 21, 2025
| { | ||
| "singleQuote": false, | ||
| "tabWidth": 2, | ||
| "trailingComma": "all", |
Collaborator
There was a problem hiding this comment.
Suggested change
| "trailingComma": "all", | |
| "trailingComma": "all", |
Please switch our biome config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Added a new action to branch out from an existing chat thread, creating a new thread with the selected message and linking it to the parent thread. Updated UI components to support this feature, including the addition of a GitBranch icon for visual representation of parent threads.