-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: Migrating from RSC to UI #399
Merged
Merged
Conversation
This file contains 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
- Added a new guideline for citing sources using the [number](url) format - Added a guideline for using markdown to structure responses - Added a guideline for including relevant images to support explanations - Added a guideline to use the retrieve tool only with user-provided URLs - Updated the existing guideline for being concise and direct in responses
Refactor the chat route and components to include functionality for selecting the model from a cookie. If a model is not selected from the cookie, the default model 'openai:gpt-4o-mini' is used. This change ensures consistent message display and improves the user experience.
Migrate to AI SDK UI
feat: save chat with related questions after completion
refactor: unify message rendering pattern for tools and annotations
…stions - Refactor the chat route to include saving the complete response and related questions. - Add the ability to convert messages to extended core messages for saving annotations. - Update the POST method to handle extended core messages and save them. - Enable the conversion of messages to extended core messages in the utils module.
Save and load annotation data
Refactor/share
refactor: Update Chat component to include query parameter
feat: improve error handling in chat API route
refactor: standardize useChat hook ID usage
Refactor/improve UI
style: enhance UI components with animations and visual improvements
Update .env.local.example with improved documentation and structure
docs: reorganize documentation and improve clarity
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This was referenced Jan 15, 2025
Closed
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.
ref: #368
Breaking Changes: Chat History and Share Feature Updates
Changes in Chat History Storage
Optional Chat History
NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY=true
.env.example
for configuration detailsShare Feature Update
NEXT_PUBLIC_ENABLE_SHARE=true
.env.example
for setupData Migration Notice
Storage Schema Changes
Migration Required
Action Required
.env.example
for new configuration optionsPlease refer to the documentation for detailed configuration instructions.