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