Skip to content

Conversation

@siddythings
Copy link

@siddythings siddythings commented Nov 22, 2025

feat: add conversation title generation to chat panel
Screenshot 2025-11-22 at 5 11 55 PM

style: Enhance chat panel UI with improved card styling and typography

- Updated card styles for both collapsed and full views, including rounded corners and shadows.
- Adjusted button sizes and styles for better visual consistency.
- Improved text styling for better readability and emphasis.
- Ensured consistent spacing and alignment across components.
- Implemented a new API endpoint for generating concise conversation titles based on user queries.
- Integrated title generation functionality into the chat panel, updating the UI to display the generated title.
- Added error handling for API failures, defaulting to a truncated user query if title generation fails.
@vercel
Copy link

vercel bot commented Nov 22, 2025

@siddythings is attempting to deploy a commit to the dayuanjiang's projects Team on Vercel.

A member of the Team first needs to authorize it.

@siddythings siddythings changed the title Chat panel header style Chat panel feat:conversation title generation:style Nov 22, 2025
});

// Function to generate conversation title using LLM
const generateConversationTitle = async (userQuery: string) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! Since we're using AI SDK, could you replace this with useCompletion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants