13 Commits

Author SHA1 Message Date
n4ze3m
7c805cfe22 feat: Include generation info in message history
Adds the `generationInfo` field to the message history output to provide more context about the message's origin. This will be helpful for debugging and understanding the provenance of messages.
2024-11-09 15:20:16 +05:30
n4ze3m
9f383a81b6 feat: Add generation info to messages
This commit introduces a new feature that displays generation information for each message in the chat.

The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise.

The generation info is retrieved from the LLM response and is stored in the database alongside other message details.

This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
n4ze3m
d5df8b5c5f feat: add pin/unpin functionality to chat history
Adds pin/unpin functionality to the chat history sidebar, allowing users to keep important conversations readily accessible. This improves user experience and helps organize past interactions.

This feature includes:
- Pin/unpin buttons in the chat history sidebar.
- Updated database schema to include `is_pinned` field for chat history items.
- Localized translations for pin/unpin actions.
- Updated UI to display pinned items at the top of the list.
2024-10-26 21:10:28 +05:30
n4ze3m
1ec44f047d feat(share): Add history title to share modal
Adds the title of the current chat history to the share modal. This makes it easier for users to share their conversations with others, as the title provides context for the conversation.

The title is fetched from the database and displayed in the share modal.
2024-10-02 13:55:38 +05:30
n4ze3m
ac9c9ca887 feat: copilot context menu for tool 2024-08-03 23:00:57 +05:30
n4ze3m
8899a42331 feat: Add support for Mammoth library for docx file uploads 2024-05-24 18:26:28 +05:30
n4ze3m
d6fff4bfa1 chore: Refactor deleteChatHistory method to deleteAllChatHistory 2024-05-15 10:30:11 +05:30
vcapp
128bf57171 Fix Incorrect Method Call and Potential Race Condition in src/db/index.ts
- Corrected deleteChatHistory method call to include id parameter.
- Addressed potential race condition in addMessage method to handle simultaneous message additions.
2024-05-14 23:55:21 +02:00
n4ze3m
79e2013fbd few bug fixes 2024-05-12 11:38:01 +05:30
n4ze3m
f9f621c920 chore: Update .gitignore and add .idea folder, update npm dependencies, and improve code logic for chat history and knowledge export/import 2024-05-11 19:32:36 +05:30
n4ze3m
677aa6ef51 feat: Add export/import functions for chat history, promt and knowledge 2024-05-08 13:42:59 +05:30
n4ze3m
11147fd951 chore: Update npm dependency versions and add export/import functions for chat history and knowledge 2024-05-08 12:13:16 +05:30
n4ze3m
ac347a3970 Update dependencies and fix import paths 2024-04-05 20:28:29 +05:30