Commit Graph

1020 Commits

Author SHA1 Message Date
Kcalb35
966c2df6ba fix: translation issue #900 2025-02-03 17:26:31 +08:00
Shenghang Tsai
7d6b5f8cce default use r1 in silicon 2025-02-03 15:06:50 +08:00
kangfenmao
9fac01c313 fix: reset knowledge base selection when switching assistants 2025-02-03 13:45:21 +08:00
kangfenmao
90b8d704c9 feat: add azure provider type #931 2025-02-03 13:37:09 +08:00
kangfenmao
99fd08184b feat: change DEFAULT_TEMPERATURE to 1.0 2025-02-03 11:57:26 +08:00
kangfenmao
8f18476f9a feat: openrouter reasoning field and include_reasoning key #863 2025-02-03 11:48:46 +08:00
kangfenmao
236f25df8a feat: add regenerate message button 2025-02-03 11:18:55 +08:00
kangfenmao
089375c822 fix: add model input max length 2025-02-03 10:52:21 +08:00
kangfenmao
ca5912b121 feat: add knowledge base settings popup 2025-02-03 09:22:59 +08:00
Wenwei Lin
6cf4349fcf fix: OpenAI o3-mini 无法使用 2025-02-02 00:17:00 +08:00
牡丹凤凰
3efdfcf816 Update models.ts
Match the avatar of the o3-mini
2025-02-01 04:38:25 +08:00
gyuannn
656d6da581 fix: 修复 mini-app 中无法使用 context-menu 的问题 2025-01-29 10:33:44 +08:00
Nanami
cdcb19320c feat: Support configurable chunk size and overlap for knowledge base 2025-01-27 12:30:22 +08:00
Nanami
d3e868550c feat: Support configurable chunk size and overlap for knowledge base 2025-01-27 12:30:22 +08:00
kangfenmao
6d3eed2a6a feat: add delete group message confirm modal 2025-01-24 13:13:00 +08:00
kangfenmao
ba0db528f8 fix: resend message logic 2025-01-24 13:02:57 +08:00
kangfenmao
6ea456d452 fix: siliconflow image url with query params #844
close #844
2025-01-24 09:31:31 +08:00
kangfenmao
1d274b0a99 chore(migration): update version and adjust provider type for QwenLM #833
- Incremented version from 60 to 61 in the persisted reducer configuration.
- Updated migration logic to change the provider type for 'qwenlm' from 'openai' to 'qwenlm', ensuring correct identification in the state management.
2025-01-23 13:20:15 +08:00
hxp0618
1b55dcc17b fix: apikey and ApiHost incorrectly set to empty 2025-01-23 08:30:07 +08:00
hobee
516f0bd383 feat: add new minimax model configuration 2025-01-23 08:29:48 +08:00
kangfenmao
9ed7d1f657 chore(version): 0.9.16 2025-01-22 16:32:57 +08:00
kangfenmao
7b7372e6ee fix: group message bugs 2025-01-22 16:29:05 +08:00
kangfenmao
de3fad0d6a feat: enhance message model handling and user display
- Updated Message component to fallback to message.model if model retrieval fails, improving robustness.
- Refactored MessageHeader to utilize getModelName for better user name display based on message role, enhancing clarity.
- Introduced getModelName function in ModelService to streamline model name retrieval, improving code modularity and readability.
2025-01-22 15:08:44 +08:00
kangfenmao
07d3d8518b feat: enhance agent management and UI in AddAssistantPopup and AgentsPage
- Updated AddAssistantPopup to improve layout and styling, ensuring better overflow handling and text display.
- Refactored AgentsPage to utilize a new utility function for grouping agents, enhancing data management and organization.
- Exported getAgentsFromSystemAgents function for better modularity and reusability across components.
2025-01-22 14:47:35 +08:00
kangfenmao
734a1a37b4 feat: enhance translation functionality in MessageMenubar
- Updated translateText function to accept an optional callback for handling translated text directly within the function.
- Refactored MessageMenubar to utilize the new callback mechanism, improving the flow of translated content handling.
- Enhanced error handling during translation to ensure better user feedback in case of failures.
2025-01-22 14:37:15 +08:00
kangfenmao
e35af87035 feat: add file reading functionality and integrate system agents
- Introduced FileService to handle file reading operations via IPC.
- Implemented a new IPC handler for reading files, enhancing the application's ability to access and manage data.
- Integrated system agents from a JSON file, allowing dynamic loading of agent data into the application.
- Updated the AgentsPage and AddAssistantPopup components to utilize the new system agents, improving user experience and functionality.
- Enhanced application state management by adding resourcesPath to the runtime state, ensuring proper resource handling across components.
2025-01-22 14:35:38 +08:00
kangfenmao
bc221904de refactor: unify message model handling across components
- Replaced direct usage of modelId with model object in Message, MessageHeader, MessageMenubar, and TranslatePage components for consistency.
- Introduced getMessageModelId utility function to streamline model retrieval from messages.
- Updated event handling in Messages component to align with new model structure.
- Enhanced code readability and maintainability by reducing redundancy in model handling.
2025-01-22 13:29:21 +08:00
kangfenmao
f6165060c7 feat: conditionally render resend button in MessageMenubar
- Updated MessageMenubar to display the resend button only for user messages, enhancing user experience and preventing unnecessary actions for other roles.
- Refactored the children prop of TextEditPopup to include conditional rendering logic based on message role.
2025-01-22 12:26:40 +08:00
kangfenmao
68a5608a14 feat: enhance message grouping and styling
- Added new styles for message thought containers and group message wrappers to improve UI layout.
- Updated MessageGroup component to dynamically set the selected message index based on message length.
- Introduced a new event for appending messages, enhancing message handling capabilities.
- Refactored MessageMenubar to support the new append message functionality.
- Adjusted multi-model message style setting to 'fold' for better user experience.
- Improved responsiveness of message grid layout for smaller screens.
2025-01-22 12:04:21 +08:00
kangfenmao
5a1f026271 feat: streamline language translation options in MessageMenubar
- Replaced hardcoded language translation options with a dynamic mapping from TranslateLanguageOptions.
- Improved maintainability and scalability of the translation feature by utilizing a centralized configuration for language options.
2025-01-22 10:18:19 +08:00
kangfenmao
c3691cb9e0 feat: add FlagOpen logo to model configuration
- Introduced a new image asset for the FlagOpen model in the assets directory.
- Updated the models configuration to include the FlagOpen logo, allowing for its use in the model logo mapping.
2025-01-22 10:05:50 +08:00
kangfenmao
91d363e6a3 refactor: improve message rendering and add reasoning content extraction
- Refactored `getMessageBackground` function for better readability.
- Updated `MessageContent` component to use a new `withMessageThought` utility for extracting reasoning content from messages.
- Changed fragment usage to `Fragment` for consistency in JSX.
- Enhanced message handling by separating reasoning content from the main message content.
2025-01-22 09:50:29 +08:00
duanyongcheng77
4fd0393b4d fix: 🐛 fixed bug #779
助手的预设消息保存逻辑的修改
2025-01-21 22:06:52 +08:00
kangfenmao
f3deea48ec feat: add group message action bar 2025-01-21 17:58:34 +08:00
Teo
77bf062f7a chore(version): update version to 60 and add migration for multiModelMessageStyle setting 2025-01-21 15:16:18 +08:00
Teo
00665179b0 refact: 多模型回答优化 2025-01-21 15:16:18 +08:00
kangfenmao
23a59578c3 fix: regenerate message not rewrite reasoning_content 2025-01-21 15:15:55 +08:00
kangfenmao
d4d769261d feat: add deepseek-reasoner model support 2025-01-21 14:28:01 +08:00
kangfenmao
5b214c1b94 feat(miniwindow): add up and down key switch menu #792 2025-01-21 10:11:42 +08:00
Cololi
af9a4e80c0 feat: add deepseek-reasoner & delete deepseek-coder 2025-01-21 10:05:21 +08:00
ousugo
0e28bb1e29 feat: add WebDAV backup hour options and optimize english hour translations 2025-01-21 08:38:08 +08:00
kangfenmao
757b1856db feat: update minapp url to 'https://grok.com' #791
close #791
2025-01-20 16:53:33 +08:00
kangfenmao
fcaff8e3eb fix: added warning for manual download on failed auto updates, simplified window lifecycle 2025-01-20 13:56:25 +08:00
kangfenmao
42c6084c03 chore(version): 0.9.13 2025-01-20 13:11:26 +08:00
kangfenmao
9f268c7897 feat: add onclick event to login icon in footer component 2025-01-20 12:57:26 +08:00
kangfenmao
e577b79ecb feat: extended safety threshold check to include 'thinking-exp' model ids 2025-01-20 12:55:24 +08:00
kangfenmao
7c4555eed0 feat: update contact email address 2025-01-20 12:20:46 +08:00
kangfenmao
7845c676f1 chore(version): 0.9.12 2025-01-20 11:52:26 +08:00
kangfenmao
c6a501f8fb feat: added copy last message feature and translations 2025-01-20 11:09:57 +08:00
kangfenmao
f56d2b9661 feat: added utility function, sorting, and new shortcut 2025-01-20 10:29:44 +08:00