-
-
Notifications
You must be signed in to change notification settings - Fork 293
feat: implement branching functionality for chat threads #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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. |
…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.
|
Nice, thanks for your support on this project |
brrock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the prettier file
|
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 |
|
We use biome, it probably run using lint staged so could you use that, pnpm format |
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.
| { | ||
| "singleQuote": false, | ||
| "tabWidth": 2, | ||
| "trailingComma": "all", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "trailingComma": "all", | |
| "trailingComma": "all", |
Please switch our biome config



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.