Commit Graph

1790 Commits

Author SHA1 Message Date
kangfenmao
a9512c6214 chore(version): 0.7.5 2024-09-20 17:01:52 +08:00
kangfenmao
62072e4f66 feat: improved ui effects and rendering for components
- Added smooth all property transition effect to Icon component.
- Added hover effect and conditional rendering for Switch Topic Sidebar button on current assistant.
- Updated the existing conditional options array to consistently include both topic and settings options.
- Improved hover effects on topic list items.
2024-09-20 16:48:24 +08:00
kangfenmao
f26ebf44c7 feat: add new add topic button 2024-09-20 15:11:50 +08:00
kangfenmao
38697e3532 fix: attachment open handler 2024-09-20 11:38:30 +08:00
kangfenmao
1412ac9889 fix: improved api call validation
- Improved API call validation to account for additional usage properties.
2024-09-20 11:12:15 +08:00
kangfenmao
8470119adc style: removed unnecessary import and optimized sidebar styling
- Removed unnecessary import and optimized sidebar styling for improved performance.
2024-09-20 10:49:50 +08:00
kangfenmao
8943eda7a3 chore(version): 0.7.4 2024-09-20 00:15:24 +08:00
kangfenmao
25114f1325 feat: added minapp event handling and sidebar menu interactions #50
- Added functionality for handling MinApp window closure and provided a default close event handler.
- Added event listeners to Sidebar menus to interact with MinApp.
2024-09-19 23:28:06 +08:00
kangfenmao
079076d673 fix: Disable topic switching and movement during rendering.
- Added functionality to disable topic switching and movement when rendering is in progress.
2024-09-19 23:01:21 +08:00
kangfenmao
4c5cf6d977 feat: Improved layout and added file content filtering.
- Added a margin bottom to the Upload component in the MessageAttachments page for improved layout.
- Added support for not displaying file contents for specific providers.
2024-09-19 22:58:12 +08:00
kangfenmao
40702e8923 chore(version): 0.7.3 2024-09-19 18:20:52 +08:00
kangfenmao
6920f24856 fix: attachment select extension for windows 2024-09-19 17:40:45 +08:00
kangfenmao
14dd179e47 feat: Added translations, new column, and UI improvements.
- Added translations for a new field.
- Added new column for file count in the FilesPage view.
- Improved handling of message tokens in the UI.
- Added functionality to display message tokens for messages with specific roles.
- Added window style selection and styling adjustments to the General Settings page.
- Added support for vision models in OpenAIProvider.
2024-09-19 16:56:44 +08:00
kangfenmao
4465e654d6 fix: openai sdk request error 2024-09-19 15:21:24 +08:00
kangfenmao
f1d4da32dd fix: support \(...\) and \[...\] style math formula #78 2024-09-19 15:21:06 +08:00
kangfenmao
bbeca88b2b feat: add click assistant switch to topics settings 2024-09-19 13:55:44 +08:00
kangfenmao
1bc3484656 feat: enhanced user experience with layout adjustments.
- This commit addresses key feature enhancements and minor optimizations for improved user experience and functionality.
- Adjusted margin top for upload container to a positive value.
- Adjusted the max-height of the container to improve rendering on smaller screens.
2024-09-19 12:04:06 +08:00
kangfenmao
ca3150c6ed feat: Improved file management and added new features.
- Updated file manager to use FileManager class instead of File class.
- Improved file management functionality with features for finding duplicate files, file uploading, and storage management.
- Added styles to wrap and truncate text in a no-drag area.
- Added explicit file extensions to imageExts constant.
- Added the 'paste long text as file' input setting.
- Added image file display and UI improvements for file names and overflow.
- Improved file paste and long text handling functionality.
- awaited onSendMessage function call and added message to chat completion.
- Implemented new option to paste long text as file in the Settings page.
- Updated content display logic to include file origin name along with the file content for text files.
- Improved functionality for handling image and text file contents in the Gemini chat provider.
- Updated file content formatting logic for text files with origin name and content prefix.
- Added a new setting "pasteLongTextAsFile" and its corresponding action to the application settings.
2024-09-19 10:51:30 +08:00
kangfenmao
540f0126d8 feat: copy and paste files or images 2024-09-18 21:18:42 +08:00
kangfenmao
b9bb0c0f40 feat: add file attachment 2024-09-18 18:00:49 +08:00
kangfenmao
09f4ddd31c feat: estimate completion usage calculation added to chat.
- Estimated usage calculation has been added to chat completion fetching to track message usage.
- Added functionality to estimate completion usage tokens based on input and prompt data.
2024-09-17 14:56:10 +08:00
kangfenmao
53e315e265 feat: Added functionality to move topics between assistants.
- Added functionality to move topics between assistants.
- Updated i18n translations to improve user interface clarity and accessibility.
- Improved code organization and functionality to support moving topics between assistants.
2024-09-17 14:37:42 +08:00
kangfenmao
058b264c9a fix: dexie data upgrade 2024-09-16 18:04:46 +08:00
kangfenmao
315b6d8c74 fix: clear database and restore specific data from backup
- Updated restore function now clears database and restores specific data from backup.
- Removed unused imports and refactored logic for item transformation in the '24' migration step.
2024-09-16 16:44:41 +08:00
kangfenmao
3e8a00f3a5 fix: backup and restore 2024-09-16 14:59:42 +08:00
kangfenmao
d37231dafe fix: Improved user experience by adding timeout to text area resize.
- Added timeout before resizing text area to improve user experience.
- Removed import of the unused `useProviderByAssistant` hook.
2024-09-16 13:03:29 +08:00
kangfenmao
868176ed57 feat: new message branch 2024-09-16 12:56:00 +08:00
kangfenmao
ff013c26ad feat: add copy button on message footer 2024-09-16 11:51:20 +08:00
kangfenmao
8912fde373 refactor: add topics and settings table
dexie
2024-09-16 10:19:06 +08:00
kangfenmao
808ade9615 feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
kangfenmao
2825165f77 chore(version): 0.7.0 2024-09-14 21:28:39 +08:00
kangfenmao
9e9738e3fe fix: removed dev tools, updated sidebar links, fixed file deletion.
- Removed ability to open developer tools in main window.
- Added and removed a link to the "/files" route in the Sidebar component.
- Fixed file deletion logic to correctly delete files from both the database and the file system.
2024-09-14 21:28:39 +08:00
kangfenmao
340667e926 fix: removed 'trigger' attribute from popover component 2024-09-14 17:22:03 +08:00
kangfenmao
2ca183b3e0 feat: add id to miniapp 2024-09-14 17:02:47 +08:00
kangfenmao
b85d314701 style: improved formatting in add agent popup.
- Improved formatting of prompt and fetched generated text in Add Agent Popup.
2024-09-14 16:53:22 +08:00
Aimer
fddd7c6858 Modified the prompt part Modified the minapp data part 2024-09-14 16:23:58 +08:00
kangfenmao
c5c9db44bf fix: remove trailing double spaces from markdown strings 2024-09-14 16:17:35 +08:00
kangfenmao
7eb56ef2d1 refactor: update file management to use filetype instead of filemetadata 2024-09-14 16:08:43 +08:00
kangfenmao
be6c2c14b7 refactor: remove sqlite3 use dexie 2024-09-14 15:25:56 +08:00
kangfenmao
d6cdac0895 chore: update build process and database configuration.
- Updated configuration to exclude additional directories from electron-builder's build process.
- Dropped the creation of the "files" table in the database schema.
- Improved code organization and extracted the data path into a reusable function.
- Updated database migration configuration to use a new migration manager.
- Added database migration to create a table for file management.
- A migration to remove the "files" table has been applied.
2024-09-13 17:03:26 +08:00
kangfenmao
1caec164fb feat: implemented vision model support and ui enhancements.
- Updated color palette settings have been implemented.
- Added VisionIcon component utilizing Ant Design icons and styled components for visual customization.
- Updated vision model regex to include additional models.
- Added support for multiple file columns in i18n resources.
- Added translations to column titles.
- Added support for vision models in the Select Model Button component.
- Added functionality to display a vision model icon next to the model name on dropdown items.
- Implemented changes to add vision model support to the Edit Models Popup.
- Added icon to display vision models in provider settings.
2024-09-13 15:46:48 +08:00
kangfenmao
f23f85523c feat: added attachment preview and upload/removal capabilities.
- Added functionality to display attachment preview with upload and removal capabilities.
- Added support for file attachments to the input bar.
2024-09-13 14:47:05 +08:00
kangfenmao
62973d8fd2 refactor: use sequelize replace better-sqlite3 2024-09-13 13:26:22 +08:00
kangfenmao
0a6ba48122 fix: Corrected image mime type in IPC message.
- Corrected image mime type in IPC message.
2024-09-13 13:26:22 +08:00
kangfenmao
f975953ba4 feat: Added tracking column to files table and updated FileMetadata interface.
- Added a "count" column with default value 1 to the "files" table for tracking purposes.
- Improved file duplication and deletion handling.
- Updated regular expression for vision models to include additional providers.
- Improved removal of topics for assistants from local storage.
- Added support for human-readable date formats in file metadata.
- Improved handling of messages with image attachments to include base64 encoded images in the response.
- Added new 'count' property to the FileMetadata interface.
2024-09-13 13:26:22 +08:00
kangfenmao
fa0cacda26 feat: Improved IPC image handling and added vision model support.
- Improved IPC image handling to return mime type and base64 encoded data alongside the image data.
- Updated type definition for `base64` method in image object to return an object with mime, base64, and data properties.
- Added support for vision models using new function and regex.
- Table cell size has been reduced on the FilesPage component.
- Added support for vision model attachments.
- Added model dependency to AttachmentButton component.
- Implemented new functionality to handle image messages in the GeminiProvider class.
- Update image base64 encoding to directly use API response data.
2024-09-13 13:26:22 +08:00
kangfenmao
11ab80f87d feat: add attachment files 2024-09-13 13:26:22 +08:00
kangfenmao
59c2a78c53 feat: add sqlite database manager 2024-09-13 13:26:22 +08:00
kangfenmao
2cb461db4e feat: added file management functionality and API operations
- Improved functionality for file management has been added.
- Added file system management functionality through IPC.
- Added functionality to interact with files including selection, upload, deletion, and batch operations.
- Added new file operations to the custom API, including file select, upload, delete, batch upload, and batch delete functions.
- Implemented feature to select and upload files via API.
2024-09-13 13:26:22 +08:00
kangfenmao
7beea24fc4 feat: add file class 2024-09-13 13:26:22 +08:00
kangfenmao
3acc24d40e feat: add files sidebar menu 2024-09-13 13:26:22 +08:00
kangfenmao
7330391813 refactor: renamed generate method to generateText for clarity and consistency 2024-09-13 10:03:30 +08:00
kangfenmao
75045a3e6f feat: add generate to ai provider api 2024-09-13 09:57:27 +08:00
kangfenmao
3401d66274 feat: Add new image file and Poe app support.
- Added a new image file.
- Added Poe app to the list of supported apps.
- Removed unused provider configuration.
2024-09-11 20:58:29 +08:00
kangfenmao
557d408957 docs: Update translations and UI for better readability.
- Updated English translations in internationalization resources to simplify search assistant placeholder.
- Removed unused import, improved text search UI and adjusted font sizes for better readability.
2024-09-11 19:39:27 +08:00
kangfenmao
dc9fa90d2d feat: Add Cohere model support and binary asset.
- Added new binary asset 'cohere.webp'.
- Added Cohere model support to the application.
2024-09-11 19:19:09 +08:00
kangfenmao
836095224e feat: Added GitHub provider support and models.
- Added a new SVG logo for the GitHub provider.
- Added a new social media platform provider to the SYSTEM_MODELS configuration.
- Added support for Github provider in the application configuration.
- Added two new translation keys: 'github' with 'GitHub Models' and updated the existing key 'graphrag-kylin-mountain'.
- Added width parameter to EditModelsPopup configuration.
- Added GitHub-specific model handling to OpenAIProvider class.
- Incremented the application version to 25.
- Added support for a new LLM model type.
- Added a new migration step to configure and enable a GitHub LLM provider.
2024-09-11 19:08:40 +08:00
kangfenmao
66ee19babb feat: Enhanced search functionality with user interaction and command shortcuts.
- Improved functionality to search Assistants with enhanced user interaction and command shortcuts.
- Implemented search functionality with runtime state management.
- Added functionality to return default assistant settings and updated conversion of agents to assistants to include default settings.
- Added a new 'searching' boolean field and corresponding state update action to the runtime store.
2024-09-11 17:29:46 +08:00
kangfenmao
b6a5a2a67d feat: Update temperature slider maximum value to 2 #62
- Increased the maximum temperature value in the settings slider.
- Increased the temperature slider maximum value from 1.2 to 2.
2024-09-11 16:24:07 +08:00
kangfenmao
d29904d359 feat: Added configurable Droppable component props to DragableList, updated translations and implemented search functionality.
- Added support for configurable Droppable component props to the DragableList component.
- Updated translations for multiple components and languages.
- Implemented search functionality in the Assistants page.
2024-09-11 16:14:06 +08:00
kangfenmao
0e4b3c730b fix: Corrected deletions and added API host reset for editable providers.
- Corrected deletions of the 'editable' property for multiple providers.
- Added ability to reset API host for editable providers when not empty.
2024-09-11 15:25:44 +08:00
kangfenmao
14180b8c06 feat: enable Math support in Markdown rendering.
- Enabled Math support in Markdown rendering without single dollar text math.
2024-09-10 15:31:32 +08:00
kangfenmao
3206dc29bc fix: disable math formula conversion in Markdown.
- Disabled math formula conversion in Markdown rendering.
2024-09-10 15:25:18 +08:00
kangfenmao
5ced4b6803 style: Refine UI styles and layout.
- Adjusted various font and layout styles to refine the user interface.
- Updated the minimum width of the NavbarRightContainer to match the var(--topic-list-width) setting.
- Added logic to synchronize local _activeTopic with activeTopic state.
- Improve logic for dynamically updating tab state in RightSidebar component based on position and topic settings.
- Removed unneeded console statement from font size slider's onChangeComplete event.
- Adjusted the width of the SettingMenus component to utilize the --settings-width variable.
2024-09-10 15:20:59 +08:00
kangfenmao
e2dc434dcc feat: Added platform-specific functionality to GeneralSettings page.
- Added platform-specific functionality to GeneralSettings page.
2024-09-10 13:52:50 +08:00
kangfenmao
f579e5c899 docs: Update agent-related translations to use 'assistant' term.
- "All agent-related translations have been updated to use the term 'assistant' instead of 'agent'."
2024-09-10 13:51:47 +08:00
kangfenmao
2ac2f90711 style: Updated component styles and layouts.
- Added new styles for the business smart assistant icon.
- Adjusted the sizes and positions of the ArrowRightButton components.
- Removed conditional style for NavbarLeft component.
- Implemented logic to resolve tab initialization based on component position.
2024-09-10 13:50:20 +08:00
kangfenmao
05ee42acc1 style: Adjusted layout and styling of right sidebar.
- Modified color border variable to a lighter grayish white.
- Adjusted the layout and styling of the right sidebar.
2024-09-10 13:28:34 +08:00
kangfenmao
30fcf518ba style: Centered buttons and modals.
- Added the centered property to the OK button on the AgentsPage.
- Added centered option to modal confirmation dialog.
- Centred the delete button in the ProvidersList component.
- Added centered confirmation to reset modal.
2024-09-09 17:16:14 +08:00
kangfenmao
8093015810 style: Centered layout updates across components.
- Centered the 'Add Assistant' popup in the chat modal.
- Added centered alignment to the AssistantSettingPopup component.
- The text area prompt input field now has a larger height.
- Updated the positioning of the Manage Agents popup to be centered.
- Added a centered attribute to the AddModelPopup modal footer.
- Added centered positioning to ProviderSettings AddProviderPopup.
- Centered layout has been added to the SearchContainer.
2024-09-09 16:57:20 +08:00
kangfenmao
5d6cc22fec Revert "refactor: Migrate DeepSeek models to v2 naming convention"
This reverts commit 75a27d813c.
2024-09-09 16:33:29 +08:00
kangfenmao
1bbed36d51 style: Adjusted dropdown menu maxHeight to 55vh. #52
- Adjusted the maxHeight property of the dropdown menu to 55vh from 80vh.
2024-09-09 13:03:51 +08:00
kangfenmao
75a27d813c refactor: Migrate DeepSeek models to v2 naming convention
- Updated DeepSeek models to use version 2 naming convention.
2024-09-09 11:58:18 +08:00
kangfenmao
1917b52b19 feat: Add Zhihu app support and image asset.
- A new image file 'zhihu.png' has been added.
- Added support for Zhihu app in the minapp configuration.
2024-09-09 11:20:02 +08:00
kangfenmao
43837b3b87 feat: Add list styling and optimize DragableList component
- Added list styling functionality to the DragableList component.
- Removed unused imports and updated container height to accommodate additional content.
2024-09-08 22:55:58 +08:00
kangfenmao
475290a204 feat: Show all topics on drag start
- Enforce the drag and drop functionality to show all topics on drag start.
2024-09-08 22:35:34 +08:00
kangfenmao
4d57f624b3 refactor: Simplify import and topic deletion logic
- Updated import statement to remove unused type reference.
- Improved handling of deleting a topic.
2024-09-08 22:25:56 +08:00
kangfenmao
7087b1c604 feat: Remove activeAssistant dependency, add assistant dependency
- Updated the `onEditAssistant` function to remove dependency on `activeAssistant` variable and add `assistant` as a dependency.
2024-09-08 20:57:49 +08:00
kangfenmao
c661b997c5 feat: Edit assistant settings with real-time sync.
- Added support for editing an assistant's settings with real-time synchronization to the agent.
2024-09-08 16:09:17 +08:00
kangfenmao
7e872edfda feat: Enhanced UI/UX with design updates, i18n, and feature enhancements.
- Updated design styles for segmented tabs and size adjustments for assistive elements.
- Added internationalization translations for English and Chinese.
- Removed unused import and functionality for switching topics sidebar.
- Added functionality to hide or show the right sidebar in the Chat page.
- Renamed Assistants component to RightSidebar.
- Improved functionality for showing and toggling topics and settings in the input bar.
- Removed unused imports and refactored Navbar component layout.
- Updated existing right sidebar functionality to allow for custom position and show topic settings.
- Removed inline styles for width from Settings component Container styles.
- Added new features for managing topics in the home page, including drag and drop functionality, a "show all" button for viewing more topics, and improved handling of large topic lists.
2024-09-08 15:56:16 +08:00
kangfenmao
7548f3c998 refactor: Improve code reusability and model service logic
- Improved code reusability in ModelSettings component by utilizing the hasModel function and Memoization.
- Refactored model service to include logic for checking if a model exists and retrieving its unique ID.
2024-09-08 10:13:15 +08:00
kangfenmao
a469dab4ce feat: Improved UI components and added new features
- Replaced 'CopyOutlined' icon with custom 'CopyIcon'.
- Replaced Topics component with RightSidebar component to match topicPosition settings.
- Removed unused imports and updated UI components in the Inputbar.
- Implemented a new Token Count component for displaying context and estimated token information in the input bar.
- Adjusted the height of code block header.
- Added functionality to toggle theme opacity.
- Added functionality to dynamically change the sidebar border style based on stored settings.
- Updated CSS styles for dynamic topic list width and padding adjustments.
- Removed unused import and styles to improve code efficiency and reduce clutter.
2024-09-07 18:11:27 +08:00
kangfenmao
69f93d167c feat: Improved model selection and unique id generation
- Improved dropdown menu selection logic for models.
- Changes improve ModelSettings component to use getModelUniqId function for model identifiers.
- Added modeling service functionality to generate unique model identifiers.
2024-09-07 18:11:13 +08:00
kangfenmao
7e179a407e feat: Add theme switching to Navbar
- Added a new theme switching functionality to the Navbar.
2024-09-06 18:03:06 +08:00
kangfenmao
669c56bcca feat: Enhanced code block styling in Markdown editor
- Added styles for code blocks in markdown to match the application's design.
- Improved the rendering of code blocks in the Markdown editor by adding a border and changing the default display in dark mode.
2024-09-06 17:58:15 +08:00
kangfenmao
faecbbb857 refactor: Remove unused CSS classes and optimize conditional styling
- Removed unused CSS classes and optimized code for conditional styling.
2024-09-06 15:53:58 +08:00
kangfenmao
1fd0a33500 feat: Update UI components and styling for consistency and readability.
- Updated icon font asset reference URL to reflect a new timestamp.
- Updated icon-fonts file asset.
- Updated markdown styling to adjust margins and padding of pre-formatted text elements.
- Added Windows-specific styling to the Inputbar component.
- Improved the rendering of code blocks with a focus on readability and theming consistency.
- Added new 'plain' attribute to Divider component for 'clear' message type.
- Minor adjustments made to the navigation bar styles and layout.
2024-09-06 15:41:46 +08:00
kangfenmao
2e0919ae88 feat: Update context count logic
- Updated logic for determining context count based on clear messages.
2024-09-06 14:17:22 +08:00
kangfenmao
c2a777246f style: Update toolbar button hover and active states
- Updated styles and icons for hover and active states of toolbar buttons.
2024-09-06 14:12:01 +08:00
kangfenmao
777a21dcc6 style: Update styling and input bar characters.
- Updated styling and characters added to input bar.
2024-09-06 14:07:45 +08:00
kangfenmao
fb7d23682f feat: Improved chat UI with context handling and filtering #43
- Updated default context count from 5 to 6.
- Updated string translations for multiple languages.
- Added functionality to handle new context and update context count in Inputbar component.
- Added support for displaying new chat context divider for 'clear' type messages.
- Added functionality to emit estimated token count with context count when the estimated token count event is triggered.
- Improved filtering and processing of user messages for the AnthropicProvider class.
- Updated message filtering logic with context consideration.
- Improved filtering of user messages to include only context-relevant messages.
- Updated logic to pass messages directly to AI.completions and AI.suggestions API requests instead of filtered messages.
- Added new event names for handling topic sidebar and context switching.
- Improved handling of message filtering and context counting.
- Added new valid value 'clear' to type option in Message type.
2024-09-06 13:54:48 +08:00
kangfenmao
e93c3f2d1b fix: Handle Enter key press event in input field
- Updated handling for Enter key press event in input field to match shortcut settings.
2024-09-06 11:34:55 +08:00
kangfenmao
f1bd7e1cbf feat: Update icon font and navigation buttons
- Updated icon font references and added new icon font glyphs.
- Updated icon font file for improved rendering.
- Updated icon font sizes and hover animations for navigation buttons.
- Removed border styles from styled Container component.
- Removed unused import and updated icon for '/settings/model' menu item.
2024-09-06 10:00:18 +08:00
kangfenmao
54d1de37fc feat: change topics position 2024-09-05 23:53:47 +08:00
kangfenmao
05a9d02a72 feat: Update Content-Security-Policy to allow file: frame-src #38
- Updated Content-Security-Policy directive to allow frame-src from file: in the HTML document.
2024-09-05 17:19:17 +08:00
kangfenmao
a90a119bfe refactor: renamed and refactored topic properties and added date-time tracking
- Renamed localforage topic item property from topic object to id.
- Added date-time tracking for assistant topics.
- Incremented the store version to 24.
- Refactored migrate function to add support for local storage and update topics timestamps.
- Added createdAt and updatedAt properties to Topic type.
2024-09-05 16:15:48 +08:00
kangfenmao
c0a1482983 docs(DragableList): improve types and props documentation for DragDropContext responders 2024-09-05 15:30:26 +08:00
kangfenmao
e939a150a1 feat: highlight acitve topic icon 2024-09-05 14:36:19 +08:00
kangfenmao
e427d020b6 feat: quickly edit the asistant on edit title #42 2024-09-05 13:41:47 +08:00
kangfenmao
961b336396 fix: anthropic first message must use the user role #39
{"type":"error","error":{"type":"invalid_request_error","message":"messages: first message must use the "user" role"}}
2024-09-05 13:35:16 +08:00
kangfenmao
08f74c5356 fix: assistant and topic list style 2024-09-05 00:04:35 +08:00
kangfenmao
1e29f7dd9c fix: left sidebar icon 2024-09-04 22:31:39 +08:00
kangfenmao
ad76ef7af9 feat: remove hashtag title 2024-09-04 21:57:23 +08:00
kangfenmao
47fb43d469 feat: new chat style 2024-09-04 21:29:16 +08:00
kangfenmao
78c82b93c8 revert: fold topics 2024-09-04 15:37:39 +08:00
kangfenmao
5ec8c4b5f2 wip 2024-09-04 13:26:51 +08:00
kangfenmao
70e599e791 feat: transparent window settings 2024-09-04 11:23:45 +08:00
kangfenmao
c33f9228d3 feat: change assistant sidebar width 2024-09-03 23:37:40 +08:00
kangfenmao
195e7d8867 feat: double click to change assistat view 2024-09-03 22:13:25 +08:00
kangfenmao
a160426cb1 fix: assistant nav style 2024-09-03 20:50:37 +08:00
kangfenmao
26de164c26 feat: change default avatar 2024-09-03 20:39:27 +08:00
kangfenmao
a3f2f8c890 fix: inputbar height 2024-09-03 20:11:25 +08:00
kangfenmao
154ed1f519 feat: change default provider 2024-09-03 20:11:20 +08:00
kangfenmao
44e2c9e571 fix: backup and restore i18n 2024-09-03 19:30:21 +08:00
kangfenmao
af2186e629 refactor: provider sdk 2024-09-03 19:00:24 +08:00
kangfenmao
acde6f4499 refactor: remove modal enabled key 2024-09-03 13:17:55 +08:00
kangfenmao
2e68b27264 fix: use webview replace iframe 2024-09-03 13:17:38 +08:00
kangfenmao
dfc886b802 refactor: remove models config enabled 2024-09-03 11:40:46 +08:00
kangfenmao
5ce380c37a feat: merge assistant and topics 2024-09-03 11:36:57 +08:00
kangfenmao
8feab6a49d refactor: assistant drap and drop 2024-09-02 20:48:31 +08:00
kangfenmao
8c390475e2 feat: expand inputbar height 2024-09-02 15:38:48 +08:00
kangfenmao
ff4ca9d5e8 feat: auto change inputbar height 2024-09-02 14:09:03 +08:00
kangfenmao
ba71e9a11e feat: add attachment button 2024-09-01 23:22:21 +08:00
kangfenmao
47a9569e13 feat: hide entry for local ai 2024-08-28 18:11:35 +08:00
kangfenmao
f7514c0588 refactor: change env file path 2024-08-27 11:58:19 +08:00
kangfenmao
699ef6b80e feat: add local module 2024-08-27 11:31:05 +08:00
kangfenmao
dadc0ab860 build: remove sentry 2024-08-26 18:06:07 +08:00
kangfenmao
69d7e9ae85 build: remove electron-devtools-installer 2024-08-26 18:02:20 +08:00
kangfenmao
51e0da5f3b fix: workspace config 2024-08-26 17:49:19 +08:00
kangfenmao
e3df8a82cc refactor: remove unnecessary logs 2024-08-25 21:37:13 +08:00
kangfenmao
460fa5a1c2 feat: update user data path 2024-08-25 18:39:53 +08:00
kangfenmao
d1184f0a7c fix: default assistant name 2024-08-23 21:41:16 +08:00
kangfenmao
bff07db732 feat: add devv referral code 2024-08-23 20:57:54 +08:00
kangfenmao
13309cb79a feat: more ai minapp 2024-08-22 18:45:06 +08:00
kangfenmao
ed3ec3a773 wip 2024-08-22 16:36:04 +08:00
kangfenmao
45e16b72f5 refactor: remove minapp.html 2024-08-22 13:04:24 +08:00
kangfenmao
9746c73cc5 chore(version): 0.6.0 2024-08-21 10:28:31 +08:00
kangfenmao
34f100454b feat: add minapps 2024-08-21 10:14:04 +08:00
kangfenmao
d0f002bb3e fix: windows minapp control button 2024-08-18 23:37:09 +08:00
kangfenmao
26570a24bf feat: change sidebar width 2024-08-18 22:20:09 +08:00
kangfenmao
a4a0b07fe9 feat: new input status bar style 2024-08-18 20:44:55 +08:00
kangfenmao
109093f1b5 feat: add minimax provider 2024-08-18 18:06:21 +08:00
kangfenmao
868bbd689b fix: hmr recycle 2024-08-18 17:10:59 +08:00
kangfenmao
5d463ce562 fix: graph rag model id 2024-08-17 21:54:34 +08:00
kangfenmao
06c6f0deb0 fix: input text 2024-08-17 21:30:28 +08:00
kangfenmao
6051016684 feat: add minapp window 2024-08-17 17:11:48 +08:00
kangfenmao
0567a4f505 feat: add minapp window 2024-08-17 13:30:54 +08:00
kangfenmao
44cf2fcb26 feat: window.app add app path 2024-08-16 22:44:00 +08:00
kangfenmao
aa38e60b1d fix: minapp title null 2024-08-16 22:43:18 +08:00
kangfenmao
e976ec7b48 fix: windows frame background color 2024-08-16 17:41:14 +08:00
kangfenmao
0e5d9cf78e feat: add user edit modal & add prompt block 2024-08-16 17:19:18 +08:00
kangfenmao
1a42e86010 feat: new windows and linux sidebar style 2024-08-14 21:28:44 +08:00
kangfenmao
1307aceec1 fix: anthropic message generating error 2024-08-14 20:35:57 +08:00
kangfenmao
e1c2457ca2 feat: add minapp popup 2024-08-14 19:47:58 +08:00
kangfenmao
e4f79f76c5 fix(settings): provider list scroll 2024-08-13 21:04:04 +08:00
kangfenmao
bc31facaaf Revert "feat(translate): use full screen input"
This reverts commit ec112b98ec.
2024-08-13 20:48:51 +08:00
kangfenmao
b6839687c0 feat: add graphrag provider 2024-08-13 20:48:38 +08:00
kangfenmao
e2896b84f0 feat: add doubao provider 2024-08-13 19:41:01 +08:00
kangfenmao
e46b44338c feat: add stepfun provider 2024-08-13 18:02:00 +08:00
kangfenmao
3dd6dc7f92 feat: add gemini provider 2024-08-13 16:51:52 +08:00
kangfenmao
ec112b98ec feat(translate): use full screen input 2024-08-13 14:57:46 +08:00
kangfenmao
6351fd99fe feat: change sidebar opacity 2024-08-12 22:35:35 +08:00
kangfenmao
4066d4ab6d feat: add font size options to assistant settings pannel 2024-08-12 22:21:47 +08:00
kangfenmao
f5616c0ac6 feat: about page add icons 2024-08-12 22:03:16 +08:00
kangfenmao
db91c3fb1a refactor: slider onChange event 2024-08-12 21:48:59 +08:00
kangfenmao
09b42c6c15 feat: enable anthropic api host edit 2024-08-12 21:31:32 +08:00
kangfenmao
d0bb082b91 feat: add change message font size feature #22
支持消息字体大小调节
2024-08-12 21:28:18 +08:00
kangfenmao
391ed005ee style(Inputbar): add width: auto to Textarea 2024-08-11 16:18:06 +08:00
kangfenmao
935ac1a031 fix: clear topic white generating 2024-08-11 16:11:31 +08:00
kangfenmao
78cb21519a refactor: code format 2024-08-11 15:49:08 +08:00
kangfenmao
299043b997 feat: new inputbar style 2024-08-09 18:56:45 +08:00
kangfenmao
8d254e6851 chore(version): 0.5.2 2024-08-08 23:53:18 +08:00
kangfenmao
94f647fc1a fix: windows style 2024-08-08 23:30:55 +08:00
kangfenmao
a27937e170 fix: filter empty user messages 2024-08-08 18:13:15 +08:00
kangfenmao
02f0936832 feat(message): add error tips 2024-08-08 17:57:57 +08:00
kangfenmao
850fae6a1b fix: inputbar height 2024-08-08 17:21:00 +08:00
kangfenmao
4215b129b6 fix: model settings crash 2024-08-08 17:16:45 +08:00
kangfenmao
fa8914632d feat(AssistantSettings.tsx): fix reset functionality 2024-08-08 16:49:18 +08:00
kangfenmao
2bbc330336 feat(ModelSettings.tsx): sorting model names and capitalizing first letter 2024-08-08 16:36:36 +08:00
kangfenmao
03ff9ceb1e feat(AboutSettings.tsx): add GithubOutlined icon linking to project repository for better user navigation and project visibility 2024-08-08 16:12:42 +08:00
kangfenmao
fd6fe0db3d fix: navbar style on linux 2024-08-08 14:50:36 +08:00
kangfenmao
e69ff8168d build: add linux target 2024-08-08 11:31:15 +08:00
kangfenmao
7b0ba6bdb9 fix(i18n): update default assistant emoji from 😀 to 🔆 2024-08-08 09:18:33 +08:00
kangfenmao
3e21af218d chore(version): 0.5.0 2024-08-07 21:55:51 +08:00
kangfenmao
0f4f1cebfb feat: fix add assistant search keywords format 2024-08-07 20:57:31 +08:00
kangfenmao
45654e7d27 feat: add max token limit #18 2024-08-07 20:49:21 +08:00
kangfenmao
f76761cc8d feat: use ubuntu font as default 2024-08-07 14:28:29 +08:00
kangfenmao
e260eba7d1 feat add agent popup #14 2024-08-07 13:23:29 +08:00
kangfenmao
704edd02da feat: add ollama settings 2024-08-06 20:38:01 +08:00
kangfenmao
c2a8a6f786 feat: add custom agent #14 2024-08-06 19:18:17 +08:00
kangfenmao
462387999e fix(AboutSettings.tsx): handle errors in update check by setting loading state 2024-08-05 16:15:58 +08:00
kangfenmao
02c0fda301 feat(i18n): new topic 2024-08-05 13:14:57 +08:00
kangfenmao
bb3d044e21 fix: estimate history token count 2024-08-05 13:09:13 +08:00
kangfenmao
d172df1e52 feat: input status use tag 2024-08-05 13:00:18 +08:00
kangfenmao
39e836993e feat: @model regenerate message 2024-08-05 12:39:37 +08:00
kangfenmao
bc838b3643 feat: quick regenerate with new model 2024-08-04 14:04:11 +08:00
kangfenmao
ad9a77d37b fix: markdown link color 2024-08-04 13:30:15 +08:00
kangfenmao
29a3121cb4 fix: math code format 2024-08-04 13:23:35 +08:00
kangfenmao
e86a74b1cf fix: footnote style 2024-08-02 11:30:06 +08:00
kangfenmao
e042e5ee03 feat: enhance markdown style 2024-08-02 10:39:13 +08:00
kangfenmao
c5efc7c24a style: change import order 2024-08-02 10:11:18 +08:00
kangfenmao
ea55dbc05b feat(provider): sillicon api key use referrer link 2024-08-02 09:24:31 +08:00
kangfenmao
86ec6eb4b4 feat(provider): add gpt-4o-mini model 2024-08-02 09:24:00 +08:00
kangfenmao
1c17e104b1 perf(messages): usememo & usecallback message component 2024-08-01 23:55:51 +08:00
kangfenmao
cda105a568 chore(version): 0.4.6 2024-08-01 15:36:07 +08:00
kangfenmao
7c9f352c96 fix(SendMessageButton.tsx): remove unnecessary placement prop from SendMessageButton to prevent potential UI alignment issues 2024-08-01 15:23:12 +08:00
kangfenmao
60c2a6ccbd fix(SettingsTab.tsx): correct the temperature label 2024-08-01 15:19:45 +08:00
kangfenmao
16a5022594 feat: add markdown footnote 2024-08-01 15:18:09 +08:00
kangfenmao
f83364147a feat: add markdown plugins remark-gfm remark-math rehype-katex 2024-08-01 14:51:20 +08:00
kangfenmao
e22387117c feat: add link component 2024-08-01 14:28:18 +08:00
kangfenmao
43d8425128 style(Message.tsx): increase padding in MessageContainer 2024-08-01 00:04:47 +08:00
kangfenmao
2c9d45a885 feat: use poppins fonts 2024-07-31 23:20:28 +08:00
kangfenmao
e36131ffd0 fix: optimize interface display style 2024-07-31 21:04:09 +08:00
kangfenmao
b151279a2b feat: new window style 2024-07-31 17:30:17 +08:00
kangfenmao
67253ac9ab chore(version): 0.4.4 2024-07-31 13:54:04 +08:00
kangfenmao
922b0f1970 feat(Inputbar.tsx): change height to min-height for Inputbar 2024-07-31 13:41:02 +08:00
kangfenmao
2682a02717 feat: add send message button 2024-07-31 13:07:02 +08:00
kangfenmao
50c99ec121 feat: default enable new added provider 2024-07-31 12:21:46 +08:00
kangfenmao
d47d9d4c49 feat: add message suggestions 2024-07-31 12:13:03 +08:00
kangfenmao
ae3d9f745d feat(AboutSettings): implement functionality to open license page from about settings 2024-07-30 16:33:58 +08:00
kangfenmao
eb77ffa7f3 docs: change offical website url 2024-07-30 15:31:17 +08:00
kangfenmao
e96d7fb38a remove: website 2024-07-30 15:30:35 +08:00
kangfenmao
436c42d6b1 fix: delete provider crash 2024-07-30 15:30:09 +08:00
kangfenmao
57cf3ad293 fix: model list text color 2024-07-29 18:17:50 +08:00
kangfenmao
11f7d578c9 fix(ProviderSDK.ts): translation message 2024-07-29 17:45:08 +08:00
kangfenmao
808c405c9f style(website): adjust border-radius of images to 20% 2024-07-29 17:36:27 +08:00
kangfenmao
bc68ed23e2 chore(version): 0.4.0 2024-07-29 17:33:09 +08:00
kangfenmao
16977cbace feat: add dark and light theme 2024-07-29 17:14:49 +08:00
kangfenmao
c64e529cb0 docs(index.html): update website URLs from easys.run to cherry-ai.com 2024-07-29 09:55:24 +08:00
kangfenmao
38a0752583 feat: add model logo on select model dropdown 2024-07-28 15:10:36 +08:00
kangfenmao
78474a1951 fix(Message.tsx): add optional chaining to assistant.name to prevent potential undefined errors 2024-07-28 11:16:16 +08:00
kangfenmao
0c8b21b609 refactor(TranslatePage.tsx): simplify OutputText styling for cleaner code structure 2024-07-28 02:28:48 +08:00
kangfenmao
cb2f0645b0 fix(index.html): update Content-Security-Policy to allow fonts 2024-07-28 01:37:43 +08:00
kangfenmao
f731b82937 feat(TranslatePage.tsx): add markdown style to handle whitespace properly in translation output 2024-07-28 01:32:03 +08:00
kangfenmao
6c4d98bb98 feat: add translation module 2024-07-28 01:07:15 +08:00
kangfenmao
c4bafc6f6a fix(markdown.scss): replace :first-of-type with :first-child for consistent styling of first elements 2024-07-26 18:02:50 +08:00
kangfenmao
06a5327b52 fix(api.ts): modify provider apiKey check to exclude 'ollama' provider 2024-07-26 18:02:32 +08:00
kangfenmao
953ae8a46b feat(markdown.scss): add white-space: pre-wrap to code elements 2024-07-26 17:22:48 +08:00
kangfenmao
b094bbe7a7 feat(ProviderSetting.tsx): add remove icon for models to allow deletion 2024-07-26 10:40:53 +08:00
kangfenmao
8e7487fce2 feat(provider.ts): add API endpoint configuration for each provider with editable status 2024-07-26 10:34:55 +08:00
kangfenmao
37bae9baf5 fix(SettingsTab.tsx): reposition reset button to align with model settings title for better visibility 2024-07-26 10:10:34 +08:00
kangfenmao
a4ed16089b feat(NavigationCenter.tsx): add CodeSandboxOutlined icon to model selection 2024-07-26 10:04:59 +08:00
kangfenmao
cb058fd5e7 feat: add global _activeAssistant and_activeTopic variable to persist state across re-renders 2024-07-26 09:57:49 +08:00
kangfenmao
00a0b8df4d feat: save file to disk 2024-07-26 09:53:07 +08:00
kangfenmao
3aa4363f5b refactor: remove conditional devTools enabling 2024-07-25 18:04:12 +08:00
kangfenmao
38ca4700b2 fix(api.ts): add null return if provider apiKey is missing to prevent unauthorized requests 2024-07-25 18:00:32 +08:00
kangfenmao
04ad25b508 docs(assistants.json): simplify prompts for clarity and consistency #6 2024-07-25 17:50:26 +08:00
kangfenmao
de362fc8dc refactor: use —narbar-background 2024-07-25 15:55:23 +08:00
kangfenmao
535bdc310c fix: default assistant name is empty 2024-07-25 14:03:54 +08:00
kangfenmao
ca65bdab39 feat: set provider as default setting entry 2024-07-25 13:45:43 +08:00
kangfenmao
e5481b7ad3 feat(ui): optimize messages ui styles 2024-07-24 19:17:58 +08:00
kangfenmao
81dbd6931b feat: switch topic tab on change assistant 2024-07-24 18:28:23 +08:00
kangfenmao
ba6c0b6558 perf(mermaid): lazy load mermaid 2024-07-24 18:19:43 +08:00
kangfenmao
b5672b6fb0 feat: add setting panel 2024-07-24 18:08:05 +08:00
kangfenmao
5544de2b56 feat(settings): add input status show switch 2024-07-24 13:08:30 +08:00
kangfenmao
5860e01df0 fix: sidebar mac style 2024-07-24 12:28:56 +08:00
kangfenmao
c42bb4d72e feat(settings): add messageFont setting 2024-07-24 12:25:36 +08:00
kangfenmao
361d1877e8 fix: prevent navigate to new url 2024-07-23 19:08:36 +08:00
kangfenmao
6f7b0205b2 fix: message style 2024-07-23 18:10:25 +08:00
kangfenmao
b3246a6f8e feat: add Mermaid render 2024-07-23 18:05:14 +08:00
kangfenmao
b27295e851 feat: change message font 2024-07-23 17:42:52 +08:00
kangfenmao
017a451002 feat: optimize message style 2024-07-23 17:32:06 +08:00
kangfenmao
bbb6a22088 fix: windows title style 2024-07-23 16:55:32 +08:00
kangfenmao
32a3688e49 feat: hide window title 2024-07-23 16:40:06 +08:00
kangfenmao
3642f3b7ff feat: add username and message divider line settings 2024-07-23 15:16:34 +08:00
kangfenmao
139d1a71f3 feat: messages styles optimization 2024-07-23 14:59:09 +08:00
kangfenmao
25408b5fca fix: proxy check 2024-07-23 12:37:12 +08:00
kangfenmao
4cf06c871b feat: new navbar style 2024-07-23 12:29:20 +08:00
kangfenmao
e083902ca9 feat: change icons 2024-07-23 10:42:58 +08:00
kangfenmao
e252cb26a8 fix: inputbar setShowRightSidebar 2024-07-23 10:20:57 +08:00
kangfenmao
88b69a2145 feat(settings): add proxy setting 2024-07-23 00:28:41 +08:00
kangfenmao
2dc8810890 feat: add show or hide assistant sidebar 2024-07-22 21:57:39 +08:00
kangfenmao
5f49d63d89 feat(website): fetch github release info 2024-07-22 15:40:30 +08:00
kangfenmao
f9d47981a3 feat: add contextCount to inputbar 2024-07-22 14:50:40 +08:00
kangfenmao
846be5c9b1 feat: add email to about titles 2024-07-22 14:26:35 +08:00
kangfenmao
42d97ea096 chore: remove change log component 2024-07-22 14:25:15 +08:00
kangfenmao
f96fecabec feat: new about page 2024-07-22 14:24:14 +08:00
kangfenmao
06e92fa1dd fix: disable switch while assistant generating message 2024-07-22 11:28:26 +08:00
kangfenmao
19caf0724a feat: add updateAssistantSettings to useAssistant hook 2024-07-22 11:15:10 +08:00
kangfenmao
199167a920 fix(ProviderSDK): clarify instruction for session summary to avoid punctuation marks and special characters 2024-07-22 10:49:10 +08:00
kangfenmao
e2052956e2 refactor: topic component code 2024-07-22 10:38:00 +08:00
kangfenmao
ea654fc455 fix: disabled switch topic while generating message 2024-07-22 10:22:47 +08:00
kangfenmao
c89d6d3d96 fix: topic missing bug and delete assistant crash 2024-07-21 23:43:17 +08:00
kangfenmao
9ca5fad56e chore(version): 0.3.0 2024-07-21 22:03:49 +08:00
kangfenmao
999f534ff4 fix: assistant settings bugs 2024-07-21 21:57:08 +08:00
kangfenmao
65e075e1e6 feat: add asistant model temperature maxTokens contextCount 2024-07-21 17:50:50 +08:00
kangfenmao
ca6b435ac4 feat: change default assistant name
# Conflicts:
#	src/renderer/src/i18n/index.ts
2024-07-21 10:51:33 +08:00
kangfenmao
abc8a112d0 chore(version): v0.2.9 2024-07-20 12:47:19 +08:00
kangfenmao
513b5779e2 fix: send message setting position 2024-07-20 11:34:52 +08:00
kangfenmao
dff7293ebd feat(provider): add AiHubMix provider 2024-07-20 11:29:24 +08:00
kangfenmao
8f8dc13e73 chore(version): v0.2.8 2024-07-20 00:56:52 +08:00
kangfenmao
f32d0716d9 feat: add custom llm provider 2024-07-20 00:50:46 +08:00
kangfenmao
0d9a16027a chore(version): 0.2.7 2024-07-19 15:52:52 +08:00
kangfenmao
61f5775152 refactor: ProviderSDK 2024-07-19 15:49:08 +08:00
kangfenmao
06511ab740 fix: use activeAssistant's id for fetching assistant and model data 2024-07-19 15:39:49 +08:00
kangfenmao
bd157d92a1 feat: add anthropic provider 2024-07-19 15:34:34 +08:00
kangfenmao
008901253d feat(settings/components): introduce password input for API key to enhance security 2024-07-19 13:38:44 +08:00
kangfenmao
d6b57dac18 feat(assistants.json): Introduce new assistants for translation and summarization 2024-07-19 13:34:21 +08:00
kangfenmao
3ad7379305 feat: add DashScope provider 2024-07-19 12:28:00 +08:00
kangfenmao
74a991fdcd Update Website 2024-07-19 09:38:29 +08:00
kangfenmao
e8ccf69367 feat(website): cherry studio -> cherry ai 2024-07-18 13:02:46 +08:00
kangfenmao
66f49b4b68 chore(version): 0.2.6 2024-07-17 17:49:47 +08:00
kangfenmao
5fef6ee251 feat: new agent center 2024-07-17 17:45:29 +08:00
kangfenmao
69ba3a7c57 chore(version): 0.2.5 2024-07-17 16:21:48 +08:00
kangfenmao
ad78ec06a9 refactor: assistants 2024-07-17 15:48:08 +08:00
kangfenmao
5778a5acb9 fix: delete all topic confirm button text 2024-07-17 12:47:26 +08:00
kangfenmao
1a504ada70 feat(provider): add baichuan provider 2024-07-17 12:44:01 +08:00
kangfenmao
5351ffc9a5 feat: update website 2024-07-16 21:04:18 +08:00
kangfenmao
e9866a9fbb fix: process is not defined 2024-07-16 20:40:25 +08:00
kangfenmao
84257d86c1 feat: check update 2024-07-16 20:06:25 +08:00
kangfenmao
2d362a99c9 fix(about): changelog overflow 2024-07-16 17:27:16 +08:00
kangfenmao
537c5472b5 feat: add website 2024-07-16 17:08:10 +08:00
kangfenmao
b775f13c3e feat: add sentry integration 2024-07-16 17:08:04 +08:00
kangfenmao
983c99ee2e docs: update change log 2024-07-16 11:02:37 +08:00
kangfenmao
ec9bd25220 fix(i18n): provider name en 2024-07-16 10:52:23 +08:00
kangfenmao
9833d1d51a fix: zhipu provider default model data error 2024-07-16 10:40:28 +08:00
kangfenmao
2ba79b7398 fix: provider model edit popup title 2024-07-15 18:07:04 +08:00
kangfenmao
56a4c55986 fix(llm): zhipu provider default models is wrong 2024-07-15 18:02:41 +08:00
kangfenmao
bcb4d04dfb fix: model checking error 2024-07-15 17:58:58 +08:00
kangfenmao
002789df82 feat: update change log styles 2024-07-15 17:31:39 +08:00
kangfenmao
4b4af0f272 fix: default assistant name empty 2024-07-15 17:22:51 +08:00
kangfenmao
b861dfc3bf 0.2.1 2024-07-15 16:45:01 +08:00
kangfenmao
ef40014c26 feat: add changes log 2024-07-15 15:55:51 +08:00
kangfenmao
df2494e476 feat: add release note 2024-07-15 15:00:19 +08:00
kangfenmao
bbf5ef58b7 feat: add pause icon to pause chat completion 2024-07-15 14:21:36 +08:00
kangfenmao
5c297ad747 fix(i18n): reload after change language 2024-07-15 14:16:43 +08:00
kangfenmao
7c88b39098 feat: add keyv-storage 2024-07-15 13:13:42 +08:00
kangfenmao
1cbfe2a707 0.2.0 2024-07-14 22:21:08 +08:00
kangfenmao
b81ed70ea4 fix: auto update 2024-07-14 21:28:07 +08:00
kangfenmao
214da0212f feat:(sidebar): compact layout 2024-07-14 13:28:45 +08:00
kangfenmao
0c02b497fe feat: change assistant list item style 2024-07-14 13:04:01 +08:00
kangfenmao
12173c2b17 feat: remove assistant description 2024-07-14 12:09:48 +08:00
kangfenmao
4b6731a1ba fix: inputbar translation 2024-07-14 11:46:25 +08:00
kangfenmao
c9c906f383 fix: can not create new topic on message generation 2024-07-14 11:39:23 +08:00
kangfenmao
22089a83dc fix: auto updater 2024-07-13 21:26:56 +08:00
kangfenmao
6c576bb486 feat: add i18n 2024-07-13 20:50:39 +08:00
kangfenmao
7d00caf65d feat: prevent user sending messages during message generation 2024-07-13 00:29:53 +08:00
kangfenmao
55341384a6 build: disable devTools on prod mode 2024-07-13 00:29:53 +08:00
kangfenmao
4ad14997d2 feat: add autoUpdater 2024-07-12 16:39:44 +08:00
kangfenmao
28c3c8d585 fix: inputbar height 2024-07-12 15:33:21 +08:00
kangfenmao
250cebc7d3 fix(chat): system message empty error 2024-07-12 14:47:42 +08:00
kangfenmao
f45440edbf refactor(settings): title style 2024-07-12 14:30:59 +08:00
kangfenmao
6712dd03fe feat(setting): add api check 2024-07-12 14:27:27 +08:00
kangfenmao
d844f99f77 feat(settings): add website to provider settings 2024-07-12 13:50:22 +08:00
kangfenmao
85a6d83282 fix: markdown style h1 margin 2024-07-12 12:47:56 +08:00
kangfenmao
ae9a2370a2 fix: regenerate message logic 2024-07-11 23:08:55 +08:00
kangfenmao
0b4b434b6e feat: allow user select text 2024-07-11 23:07:38 +08:00
kangfenmao
339466b3ce feat: re-generage message 2024-07-11 21:17:58 +08:00
kangfenmao
6d7fbd365d feat: add token usage to message 2024-07-11 20:53:27 +08:00
kangfenmao
19f61976d7 feat: show modal info 2024-07-11 18:02:50 +08:00
kangfenmao
3c06428e67 feat: add model fetch and search 2024-07-11 17:41:51 +08:00
kangfenmao
33aa13bbfd refactor: remove model temperature 2024-07-11 16:49:01 +08:00
kangfenmao
a3b10703c3 feat: disable api host edit for system provider 2024-07-11 16:18:12 +08:00
kangfenmao
fe9f2cede0 feat: add openrouter provider 2024-07-11 16:13:11 +08:00
kangfenmao
6270afb434 feat: added drag and drop sorting for providers list 2024-07-11 15:35:09 +08:00
kangfenmao
0606e94e92 feat: add moonshot provider 2024-07-11 15:24:10 +08:00
kangfenmao
a4d50fe811 feat: add avatar for unknown model 2024-07-10 20:15:49 +08:00
kangfenmao
f615a5688f fix: assistant topic not exist 2024-07-10 20:07:50 +08:00
kangfenmao
0ccb92e7f6 fix: type missing 2024-07-10 17:32:09 +08:00
kangfenmao
638f2a317b feat: extend input area 2024-07-10 17:29:52 +08:00
kangfenmao
8b5e8a20b2 feat: added drag and drop sorting for topics list 2024-07-10 17:11:59 +08:00
kangfenmao
a15d82750c feat: added drag and drop sorting for assistants list 2024-07-10 16:53:39 +08:00
kangfenmao
c3f345da61 fix: message content not occupying full width 2024-07-10 16:28:07 +08:00
kangfenmao
c432ff41e0 fix: topic naming assistant using incorrect language model 2024-07-10 16:27:16 +08:00
kangfenmao
8cd61160f2 feat: add a loading status for messages 2024-07-10 16:05:52 +08:00
kangfenmao
fe2c61f453 feat: add a toggle for provider 2024-07-10 15:57:16 +08:00
kangfenmao
536e2fbfcb feat: add ollama provider 2024-07-10 15:26:44 +08:00
kangfenmao
271f973890 feat: add zhipu provider 2024-07-10 13:13:44 +08:00
kangfenmao
994f805ace feat: uppper case code bloack title 2024-07-10 12:33:10 +08:00
kangfenmao
b10953131a fix: remove google/gemma model 2024-07-10 09:41:25 +08:00
kangfenmao
b63cd6bcd3 build: for windows 2024-07-09 21:05:31 +08:00
kangfenmao
453cbf50c4 feat: add scrollbar style 2024-07-09 20:05:31 +08:00
kangfenmao
67adc287cc feat: add provider and model image 2024-07-09 19:29:47 +08:00
kangfenmao
7c9ebb241a fix: highlighter not working 2024-07-09 16:26:10 +08:00
kangfenmao
1c1a180a9c feat: edit user message 2024-07-09 16:17:46 +08:00
kangfenmao
d1ccd114c9 refactor: markdown render 2024-07-09 15:49:28 +08:00
kangfenmao
be6a93e2d0 feat: add error message 2024-07-09 11:24:59 +08:00
kangfenmao
f2e637a0c4 feat(chat): highlight selected model name 2024-07-08 13:53:37 +08:00
kangfenmao
57999d2600 feat: add 01-yi provider 2024-07-08 13:47:04 +08:00
kangfenmao
6a4d0b57b5 fix: dropdown modal list is empty 2024-07-08 13:00:55 +08:00
kangfenmao
7762f42a1a fix: remove silicon models 2024-07-08 13:00:24 +08:00
kangfenmao
fd3355b3a1 feat: auto scroll on send new message 2024-07-07 20:50:57 +08:00
kangfenmao
1645b50628 feat: show model name on message status bar 2024-07-07 20:19:43 +08:00
kangfenmao
fab80b3317 fix: useAppInitEffect not working 2024-07-06 22:59:09 +08:00
kangfenmao
68593d4f30 feat: add message and modal api to window object 2024-07-06 21:02:47 +08:00
kangfenmao
4f0a264aa0 fix(setting): topic naming modal wrong 2024-07-06 21:02:06 +08:00
kangfenmao
2c002a9665 feat: add more system assistant 2024-07-06 18:11:30 +08:00
kangfenmao
a78c7fe465 feat: duplicate assistant 2024-07-06 18:11:18 +08:00
kangfenmao
f11f10bc2b feat: fetch chat completion with history messages 2024-07-06 17:34:33 +08:00
kangfenmao
6844a973ac feat: add send message shortcut 2024-07-06 17:24:07 +08:00
kangfenmao
4a10b2b865 build: reduce bundle size 2024-07-05 21:52:01 +08:00
kangfenmao
cca074590c chore: remove statusbar 2024-07-05 17:04:37 +08:00
kangfenmao
d7bf7e9a47 refactor: product name 2024-07-05 17:03:58 +08:00
kangfenmao
6fd11b695f fix: store blacklist 2024-07-05 17:00:57 +08:00
kangfenmao
ff15b953ba feat(setting): avatar setting 2024-07-05 16:03:13 +08:00
kangfenmao
261f217dee refactor: rename conversation to messages 2024-07-05 14:35:41 +08:00
kangfenmao
2d6d59cc8d feat: first assistant message 2024-07-05 14:11:14 +08:00
kangfenmao
c97887e945 fix: defualt assistant model missing 2024-07-05 14:07:35 +08:00
kangfenmao
64361dccc4 fix: default assistant topic id 2024-07-05 13:51:36 +08:00
kangfenmao
f10fbe0218 feat(settings): default assistant settings 2024-07-05 13:30:48 +08:00
kangfenmao
e1b8fec2fd feat(settings): default modal settings 2024-07-05 13:17:54 +08:00
kangfenmao
695548f457 feat: update openai models 2024-07-05 11:30:09 +08:00
kangfenmao
43ceb4bcf3 feat: add app version 2024-07-05 11:29:56 +08:00
kangfenmao
c7332636b2 fix: fetch chat completion use default provider 2024-07-05 10:31:59 +08:00
kangfenmao
d68f3f5aa3 fix: select modal bugs 2024-07-05 10:19:32 +08:00
kangfenmao
8abb550526 feat: select model for assistant 2024-07-04 18:04:21 +08:00
kangfenmao
49b4c5a5f2 feat: add new topic use keyboard shortcut 2024-07-04 16:48:45 +08:00
kangfenmao
d6084d0314 feat: add models 2024-07-04 15:26:29 +08:00
kangfenmao
a6b1d3531e feat: remove assistant item menu 2024-07-03 13:45:30 +08:00
kangfenmao
1c7355066a feat: agent rename to assistant 2024-07-03 13:44:05 +08:00
kangfenmao
ef3799ec37 feat: add icons on context menu 2024-07-02 19:35:13 +08:00
kangfenmao
14526eee3d feat: clear conversation 2024-07-02 18:48:32 +08:00
kangfenmao
5c115dcd6a feat: delete all topic 2024-07-02 17:35:02 +08:00
kangfenmao
9bfbe9a929 feat: add agent prompt 2024-07-02 16:35:07 +08:00
kangfenmao
e794e1b1e1 feat: edit agent 2024-07-02 16:25:15 +08:00
kangfenmao
c0c9aa0041 feat: new theme color 2024-07-02 15:41:20 +08:00
kangfenmao
fc2b2364a0 feat: ai auto rename topic 2024-07-02 14:21:47 +08:00
kangfenmao
e5615f1a82 feat: rename topic 2024-07-02 10:31:03 +08:00
kangfenmao
afc882bad9 feat: switch topic 2024-07-01 17:41:33 +08:00
kangfenmao
1e8d7dc3c7 feat: add topic list items 2024-07-01 17:33:31 +08:00
kangfenmao
9d669ede60 feat: toggle topic list 2024-07-01 15:45:12 +08:00
kangfenmao
4c14a995a8 feat: add context menu 2024-07-01 14:44:44 +08:00
kangfenmao
25cee820b0 feat: add input toolbar 2024-07-01 14:19:53 +08:00
kangfenmao
2efa2fe64a feat: use ant.design 2024-06-30 17:13:31 +08:00
kangfenmao
dd15658176 refactor: thread -> agent 2024-06-28 15:19:04 +08:00
kangfenmao
d3c44dc1d8 feat(module): add new feature module
Add a new module called "module" that implements the following features:
- Implement feature A
- Provide API interface B
- Optimize performance issues

BREAKING CHANGE: This feature module introduces a new configuration option, requiring updates to the existing configuration files.
2024-06-18 21:01:44 +08:00
kangfenmao
b3ecf05c2f feat(module): add new feature module
Added a new functionality module named "module" which implements the following features:
- Implements feature A
- Provides API interface B
- Optimizes performance issues

BREAKING CHANGE: The new functionality module introduces a new configuration option, requiring updates to the existing configuration files.
2024-06-18 20:06:47 +08:00
kangfenmao
65bc571a76 feat: add electron-devtools-installer 2024-06-18 17:42:58 +08:00
kangfenmao
c3cc957a9d feat(deps): add new dependencies
- Added "@douyinfe/semi-ui" version "^2.60.0"
- Updated "tslib" from version "2.6.2" to "2.6.3"
- Added "@douyinfe/semi-animation-react" version "^2.60.0"
- Added "@douyinfe/semi-illustrations" version "^2.60.0"
- Added "@douyinfe/semi-theme-default" version "^2.60.0"
- Added "@douyinfe/semi-animation" version "2.60.0"

BREAKING CHANGE: The new dependencies may introduce breaking changes in the application. Please ensure compatibility and make necessary updates.

Closes #123
2024-06-18 16:41:04 +08:00
kangfenmao
c501c03b9d style(app): adjust styles for better layout and user experience
- Adjusted navbar and sidebar padding, height, and width
- Modified background color and scrollbar appearance for consistency
- Added input bar component for typing messages in chat
- Enhanced alignment and display of navbar elements

BREAKING CHANGE: Changes may affect layout and require UI adjustments.
2024-06-18 16:22:37 +08:00
kangfenmao
65371971f2 feat: add redux-persist 2024-05-31 15:53:55 +08:00
kangfenmao
e5ed0cad1d feat: add redux store 2024-05-31 14:38:19 +08:00
kangfenmao
bdd0c55630 style(css): update scrollbar styles
Updated scrollbar styles in App.css to customize appearance and behavior:
- Set width and height for scrollbar
- Defined background colors for track and thumb
- Added hover effect for scrollbar thumb

No breaking changes introduced.
2024-05-30 16:43:51 +08:00
kangfenmao
54f41d1278 feat: add localforage and conversations hook 2024-05-30 16:20:50 +08:00
kangfenmao
2a988b3d76 feat: add settings pages 2024-05-29 15:47:09 +08:00
kangfenmao
f4f65755cc refactor: add styled-component 2024-05-29 13:27:56 +08:00
kangfenmao
78b545702c chore(lint): Update ESLint and Prettier configurations 2024-05-24 16:33:26 +08:00
kangfenmao
6c7e30fdc2 style(config): update Prettier and VS Code settings 2024-05-24 12:45:41 +08:00
kangfenmao
b2b1899fa2 feat: add home page 2024-05-24 12:38:51 +08:00
kangfenmao
5a8af12735 feat: add vite-electron template 2024-05-24 10:03:02 +08:00