Skip to content

Conversation

@rohan-uiuc
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
uiuc-chat-frontend Ready Ready Preview Comment Nov 14, 2025 3:01am

- Add chain-of-thought component from AI Elements
- Add shadcn/ui badge and collapsible components (dependencies)
- Install tailwindcss-animate plugin for animations
- Add AI Elements path alias to tsconfig
- Update components.json with AI Elements registry config
- Refactor to use AI Elements ChainOfThought components
- Remove explicit icons and step numbers for cleaner design
- Add collapsed preview showing last 5 events with auto-scroll
- Use theme CSS variables for consistent colors
- Add timeline connector line with theme colors
- Show search icon for retrieval events
- Display document count in badge with theme colors
- Improve width to match message container (95% width)
- Add smooth animations with tailwindcss-animate
…agent mode

- Preserve file upload contexts separately before agent loop
- Clear message.contexts before each search to ensure fresh results
- Accumulate contexts from each search separately
- Merge file upload contexts with accumulated search contexts after loop
- Add ContextWithMetadata import for type safety

This ensures file uploads work correctly in agent mode while preventing
stale search results from being reused across multiple retrieval steps.
- Clear agentEvents and agentStepNumber at start of handleSend
- Clear agentEvents and agentStepNumber when deleteCount > 0 (regeneration)
- Clear agentEvents and agentStepNumber in handleRegenerate for both
  assistant and user messages

This ensures stale agent state is cleared when regenerating responses,
preventing old agent events from mixing with new ones.
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