You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regenerate (#561)
* Fix regenerate logic and UI button placement in chat components.
* Refactor `onRegenerate` function to handle regeneration logic more explicitly.
* Fix chat regeneration logic and add delete functionality
- Prevent creating empty user messages in `chat_main_handler.go`.
- Add logging for regenerating answers without new questions.
- Update `content.ts` to ensure proper deletion handling.
- Enhance `Conversation.vue` to handle regeneration correctly and delete chat messages.
- Add `deleteChat` function in `useChat.ts` for chat deletion.
Fix chat session endpoint and order by latest message time (#557)
* Fix chat session endpoint and order by latest message time
* Update chat session query to use LEFT JOIN and order by latest message time and session ID.
Move `NModal` component outside of header for better structure. (#550)
* Move `NModal` component outside of header for better structure.
* Adjust margin-right for search button in snapshot view.
Add isValid getter to auth store and use it for permission checks (#528)
* Remove commented-out code and unnecessary comments in chat store module.
* Sort chat sessions by ID in descending order and sync sessions in chat store.
* Make `addChatSession` method asynchronous and await its calls in chat store and sider component.
* Add `isValid` getter to auth store and use it for permission checks in admin, bot, chat, and snapshot views.
* Refactor snapshot view: remove unused imports, simplify variable names, and improve error handling.
* Add API token fetching function in `web/src/api/token.ts`
* Refactor bot view to use `fetchAPIToken` and improve variable naming.