@lobehub/chat 1.83.8 → 1.84.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/changelog/v1.json +18 -0
  3. package/locales/ar/color.json +22 -0
  4. package/locales/ar/file.json +3 -0
  5. package/locales/ar/models.json +15 -0
  6. package/locales/ar/setting.json +13 -0
  7. package/locales/ar/tool.json +10 -1
  8. package/locales/bg-BG/color.json +22 -0
  9. package/locales/bg-BG/file.json +3 -0
  10. package/locales/bg-BG/models.json +15 -0
  11. package/locales/bg-BG/setting.json +13 -0
  12. package/locales/bg-BG/tool.json +10 -1
  13. package/locales/de-DE/color.json +22 -0
  14. package/locales/de-DE/file.json +3 -0
  15. package/locales/de-DE/models.json +15 -0
  16. package/locales/de-DE/setting.json +13 -0
  17. package/locales/de-DE/tool.json +10 -1
  18. package/locales/en-US/color.json +22 -0
  19. package/locales/en-US/file.json +3 -0
  20. package/locales/en-US/models.json +15 -0
  21. package/locales/en-US/setting.json +13 -0
  22. package/locales/en-US/tool.json +10 -1
  23. package/locales/es-ES/color.json +22 -0
  24. package/locales/es-ES/file.json +3 -0
  25. package/locales/es-ES/models.json +15 -0
  26. package/locales/es-ES/setting.json +13 -0
  27. package/locales/es-ES/tool.json +10 -1
  28. package/locales/fa-IR/color.json +22 -0
  29. package/locales/fa-IR/file.json +3 -0
  30. package/locales/fa-IR/models.json +15 -0
  31. package/locales/fa-IR/setting.json +13 -0
  32. package/locales/fa-IR/tool.json +10 -1
  33. package/locales/fr-FR/color.json +22 -0
  34. package/locales/fr-FR/file.json +3 -0
  35. package/locales/fr-FR/models.json +15 -0
  36. package/locales/fr-FR/setting.json +13 -0
  37. package/locales/fr-FR/tool.json +10 -1
  38. package/locales/it-IT/color.json +22 -0
  39. package/locales/it-IT/file.json +3 -0
  40. package/locales/it-IT/models.json +15 -0
  41. package/locales/it-IT/setting.json +13 -0
  42. package/locales/it-IT/tool.json +10 -1
  43. package/locales/ja-JP/color.json +22 -0
  44. package/locales/ja-JP/file.json +3 -0
  45. package/locales/ja-JP/models.json +15 -0
  46. package/locales/ja-JP/setting.json +13 -0
  47. package/locales/ja-JP/tool.json +10 -1
  48. package/locales/ko-KR/color.json +22 -0
  49. package/locales/ko-KR/file.json +3 -0
  50. package/locales/ko-KR/models.json +15 -0
  51. package/locales/ko-KR/setting.json +13 -0
  52. package/locales/ko-KR/tool.json +10 -1
  53. package/locales/nl-NL/color.json +22 -0
  54. package/locales/nl-NL/file.json +3 -0
  55. package/locales/nl-NL/models.json +15 -0
  56. package/locales/nl-NL/setting.json +13 -0
  57. package/locales/nl-NL/tool.json +10 -1
  58. package/locales/pl-PL/color.json +22 -0
  59. package/locales/pl-PL/file.json +3 -0
  60. package/locales/pl-PL/models.json +15 -0
  61. package/locales/pl-PL/setting.json +13 -0
  62. package/locales/pl-PL/tool.json +10 -1
  63. package/locales/pt-BR/color.json +22 -0
  64. package/locales/pt-BR/file.json +3 -0
  65. package/locales/pt-BR/models.json +15 -0
  66. package/locales/pt-BR/setting.json +13 -0
  67. package/locales/pt-BR/tool.json +10 -1
  68. package/locales/ru-RU/color.json +22 -0
  69. package/locales/ru-RU/file.json +3 -0
  70. package/locales/ru-RU/models.json +15 -0
  71. package/locales/ru-RU/setting.json +13 -0
  72. package/locales/ru-RU/tool.json +10 -1
  73. package/locales/tr-TR/color.json +22 -0
  74. package/locales/tr-TR/file.json +3 -0
  75. package/locales/tr-TR/models.json +15 -0
  76. package/locales/tr-TR/setting.json +13 -0
  77. package/locales/tr-TR/tool.json +10 -1
  78. package/locales/vi-VN/color.json +22 -0
  79. package/locales/vi-VN/file.json +3 -0
  80. package/locales/vi-VN/models.json +15 -0
  81. package/locales/vi-VN/setting.json +13 -0
  82. package/locales/vi-VN/tool.json +10 -1
  83. package/locales/zh-CN/color.json +22 -0
  84. package/locales/zh-CN/common.json +2 -2
  85. package/locales/zh-CN/file.json +3 -0
  86. package/locales/zh-CN/models.json +15 -0
  87. package/locales/zh-CN/setting.json +15 -2
  88. package/locales/zh-TW/color.json +22 -0
  89. package/locales/zh-TW/file.json +3 -0
  90. package/locales/zh-TW/models.json +15 -0
  91. package/locales/zh-TW/setting.json +13 -0
  92. package/locales/zh-TW/tool.json +10 -1
  93. package/package.json +5 -5
  94. package/src/app/[variants]/(auth)/next-auth/signin/AuthSignInBox.tsx +2 -1
  95. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/Header.tsx +2 -2
  96. package/src/app/[variants]/(main)/(mobile)/me/data/features/Header.tsx +3 -3
  97. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Header.tsx +3 -3
  98. package/src/app/[variants]/(main)/(mobile)/me/settings/features/Header.tsx +3 -3
  99. package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +1 -1
  100. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/BottomActions.tsx +19 -3
  101. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +33 -17
  102. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.tsx +20 -10
  103. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/index.tsx +8 -16
  104. package/src/app/[variants]/(main)/_layout/Mobile/NavBar.tsx +12 -4
  105. package/src/app/[variants]/(main)/changelog/_layout/Desktop/Container.tsx +35 -0
  106. package/src/app/[variants]/(main)/changelog/_layout/Desktop/index.tsx +19 -0
  107. package/src/app/[variants]/(main)/changelog/_layout/Mobile/Header.tsx +3 -3
  108. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/Footer/SendMore.tsx +2 -3
  109. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/Footer/ShortcutHint.tsx +2 -2
  110. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/Footer/index.tsx +4 -3
  111. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Mobile/Files/index.tsx +3 -3
  112. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Mobile/InputArea/index.tsx +5 -4
  113. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Mobile/Send.tsx +3 -4
  114. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/AgentsSuggest.tsx +8 -14
  115. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/QuestionSuggest.tsx +6 -10
  116. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/OpeningQuestions.tsx +10 -14
  117. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/WelcomeMessage.tsx +2 -2
  118. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ZenModeToast/Toast.tsx +4 -3
  119. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Header.tsx +2 -2
  120. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/SystemRole/SystemRoleContent.tsx +38 -44
  121. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/SystemRole/style.ts +1 -21
  122. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/GroupItem.tsx +2 -2
  123. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicListContent/ThreadItem/Content.tsx +3 -7
  124. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicListContent/TopicItem/TopicContent.tsx +3 -7
  125. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicListContent/index.tsx +7 -7
  126. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/TopicSearchBar/index.tsx +1 -1
  127. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/HeaderAction.tsx +2 -2
  128. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Main.tsx +10 -32
  129. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Tags/KnowledgeTag.tsx +1 -2
  130. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Tags/index.tsx +2 -2
  131. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/index.tsx +3 -11
  132. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/Portal.tsx +11 -17
  133. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/TopicPanel.tsx +3 -4
  134. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/ChatHeaderTitle.tsx +3 -3
  135. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/index.tsx +2 -2
  136. package/src/app/[variants]/(main)/chat/(workspace)/features/AgentSettings/index.tsx +39 -61
  137. package/src/app/[variants]/(main)/chat/(workspace)/features/TelemetryNotification.tsx +1 -2
  138. package/src/app/[variants]/(main)/chat/@session/_layout/Desktop/PanelBody.tsx +6 -2
  139. package/src/app/[variants]/(main)/chat/@session/_layout/Desktop/SessionHeader.tsx +26 -13
  140. package/src/app/[variants]/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +2 -2
  141. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/CollapseGroup/Actions.tsx +3 -3
  142. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/CollapseGroup/index.tsx +1 -1
  143. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Inbox/index.tsx +10 -0
  144. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/AddButton.tsx +14 -5
  145. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/Actions.tsx +3 -3
  146. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/index.tsx +10 -0
  147. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/ListItem/index.tsx +2 -2
  148. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx +1 -5
  149. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Modals/ConfigGroupModal/index.tsx +2 -3
  150. package/src/app/[variants]/(main)/chat/@session/features/SessionSearchBar.tsx +1 -1
  151. package/src/app/[variants]/(main)/chat/_layout/Desktop/SessionPanel.tsx +14 -1
  152. package/src/app/[variants]/(main)/chat/_layout/Desktop/Workspace.tsx +23 -0
  153. package/src/app/[variants]/(main)/chat/_layout/Desktop/index.tsx +2 -3
  154. package/src/app/[variants]/(main)/chat/features/Migration/ExportConfigButton.tsx +1 -1
  155. package/src/app/[variants]/(main)/chat/features/Migration/Failed.tsx +3 -3
  156. package/src/app/[variants]/(main)/chat/features/Migration/Modal.tsx +2 -2
  157. package/src/app/[variants]/(main)/chat/features/Migration/Start.tsx +1 -1
  158. package/src/app/[variants]/(main)/chat/features/Migration/UpgradeButton.tsx +2 -2
  159. package/src/app/[variants]/(main)/chat/features/TogglePanelButton.tsx +42 -0
  160. package/src/app/[variants]/(main)/chat/settings/_layout/Mobile/Header.tsx +3 -3
  161. package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +2 -3
  162. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +2 -2
  163. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +2 -3
  164. package/src/app/[variants]/(main)/chat/settings/page.tsx +13 -20
  165. package/src/app/[variants]/(main)/discover/(detail)/_layout/Mobile/Header.tsx +2 -2
  166. package/src/app/[variants]/(main)/discover/(detail)/assistant/[slug]/features/ConversationExample/index.tsx +8 -3
  167. package/src/app/[variants]/(main)/discover/(detail)/assistant/[slug]/features/Header.tsx +2 -5
  168. package/src/app/[variants]/(main)/discover/(detail)/features/Block.tsx +1 -2
  169. package/src/app/[variants]/(main)/discover/(detail)/features/HighlightBlock.tsx +1 -1
  170. package/src/app/[variants]/(main)/discover/(detail)/features/ShareButton.tsx +16 -14
  171. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Actions.tsx +2 -8
  172. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/ChatWithModel.tsx +2 -2
  173. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +3 -7
  174. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/InfoSidebar/SuggestionItem.tsx +3 -4
  175. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/ParameterList/index.tsx +2 -2
  176. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/ProviderList/ProviderItem.tsx +6 -19
  177. package/src/app/[variants]/(main)/discover/(detail)/plugin/[slug]/features/Header.tsx +8 -3
  178. package/src/app/[variants]/(main)/discover/(detail)/plugin/[slug]/features/InstallPlugin.tsx +2 -1
  179. package/src/app/[variants]/(main)/discover/(detail)/plugin/[slug]/features/ParameterList.tsx +3 -3
  180. package/src/app/[variants]/(main)/discover/(detail)/provider/[slug]/features/Header.tsx +1 -1
  181. package/src/app/[variants]/(main)/discover/(detail)/provider/[slug]/features/ModelList/ModelItem.tsx +3 -3
  182. package/src/app/[variants]/(main)/discover/(detail)/provider/[slug]/features/ModelList/index.tsx +3 -3
  183. package/src/app/[variants]/(main)/discover/(detail)/provider/[slug]/features/ProviderConfig.tsx +4 -4
  184. package/src/app/[variants]/(main)/discover/(list)/(home)/features/AssistantList.tsx +1 -1
  185. package/src/app/[variants]/(main)/discover/(list)/(home)/features/PluginList.tsx +1 -1
  186. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +44 -68
  187. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Header.tsx +3 -3
  188. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Nav.tsx +2 -2
  189. package/src/app/[variants]/(main)/discover/(list)/assistants/features/Card.tsx +10 -11
  190. package/src/app/[variants]/(main)/discover/(list)/assistants/features/List.tsx +2 -2
  191. package/src/app/[variants]/(main)/discover/(list)/assistants/features/useCategory.tsx +1 -1
  192. package/src/app/[variants]/(main)/discover/(list)/models/features/Card.tsx +3 -9
  193. package/src/app/[variants]/(main)/discover/(list)/plugins/features/Card.tsx +7 -10
  194. package/src/app/[variants]/(main)/discover/(list)/plugins/features/List.tsx +2 -2
  195. package/src/app/[variants]/(main)/discover/(list)/plugins/features/useCategory.tsx +1 -1
  196. package/src/app/[variants]/(main)/discover/_layout/Desktop/Container.tsx +25 -0
  197. package/src/app/[variants]/(main)/discover/_layout/Desktop/index.tsx +3 -3
  198. package/src/app/[variants]/(main)/discover/components/CategoryContainer.tsx +1 -1
  199. package/src/app/[variants]/(main)/discover/components/CategoryMenu.tsx +1 -1
  200. package/src/app/[variants]/(main)/discover/components/Title.tsx +2 -5
  201. package/src/app/[variants]/(main)/discover/features/CreateButton/Inner.tsx +3 -3
  202. package/src/app/[variants]/(main)/discover/features/CreateButton/index.tsx +3 -3
  203. package/src/app/[variants]/(main)/discover/features/LikeButton.tsx +5 -4
  204. package/src/app/[variants]/(main)/discover/features/StoreSearchBar.tsx +1 -1
  205. package/src/app/[variants]/(main)/discover/features/useNav.tsx +7 -6
  206. package/src/app/[variants]/(main)/discover/search/_layout/Mobile/Header.tsx +3 -3
  207. package/src/app/[variants]/(main)/discover/search/_layout/Mobile/Nav.tsx +3 -3
  208. package/src/app/[variants]/(main)/files/(content)/@menu/features/FileMenu/index.tsx +1 -1
  209. package/src/app/[variants]/(main)/files/(content)/@menu/features/KnowledgeBase/Item/Content.tsx +6 -4
  210. package/src/app/[variants]/(main)/files/(content)/NotSupportClient.tsx +4 -4
  211. package/src/app/[variants]/(main)/files/(content)/_layout/Desktop/Container.tsx +24 -0
  212. package/src/app/[variants]/(main)/files/(content)/_layout/Desktop/RegisterHotkeys.tsx +10 -0
  213. package/src/app/[variants]/(main)/files/(content)/_layout/Desktop/index.tsx +5 -4
  214. package/src/app/[variants]/(main)/files/[id]/Header.tsx +3 -3
  215. package/src/app/[variants]/(main)/files/features/FileDetail.tsx +2 -2
  216. package/src/app/[variants]/(main)/profile/(home)/Client.tsx +32 -11
  217. package/src/app/[variants]/(main)/profile/(home)/features/SSOProvidersList/index.tsx +3 -4
  218. package/src/app/[variants]/(main)/profile/@category/features/CategoryContent.tsx +1 -1
  219. package/src/app/[variants]/(main)/profile/_layout/Desktop/Header.tsx +4 -3
  220. package/src/app/[variants]/(main)/profile/_layout/Desktop/SideBar.tsx +2 -2
  221. package/src/app/[variants]/(main)/profile/_layout/Mobile/Header.tsx +3 -3
  222. package/src/app/[variants]/(main)/profile/features/ClerkProfile.tsx +0 -1
  223. package/src/app/[variants]/(main)/profile/stats/Client.tsx +1 -1
  224. package/src/app/[variants]/(main)/profile/stats/features/AiHeatmaps.tsx +2 -3
  225. package/src/app/[variants]/(main)/profile/stats/features/AssistantsRank.tsx +2 -2
  226. package/src/app/[variants]/(main)/profile/stats/features/ModelsRank.tsx +2 -2
  227. package/src/app/[variants]/(main)/profile/stats/features/ShareButton/ShareModal.tsx +2 -2
  228. package/src/app/[variants]/(main)/profile/stats/features/TopicsRank.tsx +3 -5
  229. package/src/app/[variants]/(main)/repos/[id]/@menu/Menu/index.tsx +1 -1
  230. package/src/app/[variants]/(main)/repos/[id]/evals/components/Tabs.tsx +1 -1
  231. package/src/app/[variants]/(main)/repos/[id]/evals/dataset/CreateDataset/CreateForm.tsx +23 -36
  232. package/src/app/[variants]/(main)/repos/[id]/evals/dataset/CreateDataset/index.tsx +1 -1
  233. package/src/app/[variants]/(main)/repos/[id]/evals/dataset/DatasetDetail/index.tsx +2 -2
  234. package/src/app/[variants]/(main)/repos/[id]/evals/dataset/EmptyGuide/index.tsx +1 -1
  235. package/src/app/[variants]/(main)/repos/[id]/evals/evaluation/CreateEvaluation/CreateForm.tsx +45 -49
  236. package/src/app/[variants]/(main)/repos/[id]/evals/evaluation/CreateEvaluation/index.tsx +1 -1
  237. package/src/app/[variants]/(main)/repos/[id]/evals/evaluation/CreateEvaluation/useModal.tsx +1 -1
  238. package/src/app/[variants]/(main)/repos/[id]/evals/evaluation/EvaluationList/index.tsx +2 -2
  239. package/src/app/[variants]/(main)/settings/@category/features/CategoryContent.tsx +1 -1
  240. package/src/app/[variants]/(main)/settings/@category/features/UpgradeAlert.tsx +1 -2
  241. package/src/app/[variants]/(main)/settings/_layout/Desktop/Header.tsx +4 -3
  242. package/src/app/[variants]/(main)/settings/_layout/Desktop/SideBar.tsx +2 -2
  243. package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +10 -4
  244. package/src/app/[variants]/(main)/settings/_layout/Mobile/Header.tsx +4 -4
  245. package/src/app/[variants]/(main)/settings/about/features/Analytics.tsx +3 -5
  246. package/src/app/[variants]/(main)/settings/about/features/ItemCard.tsx +6 -26
  247. package/src/app/[variants]/(main)/settings/about/features/ItemLink.tsx +1 -5
  248. package/src/app/[variants]/(main)/settings/about/features/Version.tsx +15 -19
  249. package/src/app/[variants]/(main)/settings/about/index.tsx +1 -1
  250. package/src/app/[variants]/(main)/settings/agent/AgentMenu/index.tsx +49 -0
  251. package/src/app/[variants]/(main)/settings/agent/_layout/Desktop.tsx +20 -0
  252. package/src/app/[variants]/(main)/settings/agent/_layout/Mobile.tsx +14 -0
  253. package/src/app/[variants]/(main)/settings/agent/index.tsx +7 -0
  254. package/src/app/[variants]/(main)/settings/agent/layout.tsx +23 -0
  255. package/src/app/[variants]/(main)/settings/common/features/Common.tsx +6 -8
  256. package/src/app/[variants]/(main)/settings/common/features/Theme/ThemeSwatches/ThemeSwatchesNeutral.tsx +33 -11
  257. package/src/app/[variants]/(main)/settings/common/features/Theme/ThemeSwatches/ThemeSwatchesPrimary.tsx +60 -11
  258. package/src/app/[variants]/(main)/settings/common/features/Theme/index.tsx +5 -7
  259. package/src/app/[variants]/(main)/settings/features/UpgradeAlert.tsx +1 -2
  260. package/src/app/[variants]/(main)/settings/hooks/useCategory.tsx +1 -2
  261. package/src/app/[variants]/(main)/settings/hotkey/features/HotkeySetting.tsx +4 -6
  262. package/src/app/[variants]/(main)/settings/llm/ProviderList/Azure/index.tsx +2 -6
  263. package/src/app/[variants]/(main)/settings/llm/ProviderList/Bedrock/index.tsx +4 -4
  264. package/src/app/[variants]/(main)/settings/llm/ProviderList/Cloudflare/index.tsx +2 -2
  265. package/src/app/[variants]/(main)/settings/llm/ProviderList/Github/index.tsx +2 -3
  266. package/src/app/[variants]/(main)/settings/llm/ProviderList/HuggingFace/index.tsx +2 -3
  267. package/src/app/[variants]/(main)/settings/llm/components/Checker.tsx +2 -3
  268. package/src/app/[variants]/(main)/settings/llm/components/ProviderConfig/index.tsx +12 -4
  269. package/src/app/[variants]/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/Form.tsx +2 -1
  270. package/src/app/[variants]/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/index.tsx +2 -3
  271. package/src/app/[variants]/(main)/settings/llm/components/ProviderModelList/index.tsx +2 -3
  272. package/src/app/[variants]/(main)/settings/provider/(detail)/azure/page.tsx +1 -2
  273. package/src/app/[variants]/(main)/settings/provider/(detail)/bedrock/page.tsx +1 -1
  274. package/src/app/[variants]/(main)/settings/provider/(detail)/doubao/page.tsx +6 -7
  275. package/src/app/[variants]/(main)/settings/provider/(detail)/ollama/OllamaModelDownloader/index.tsx +0 -0
  276. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +10 -2
  277. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/EnableSwitch.tsx +1 -1
  278. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +16 -42
  279. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/AddNew.tsx +10 -7
  280. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/All.tsx +1 -1
  281. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +3 -3
  282. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SortProviderModal/index.tsx +2 -2
  283. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/index.tsx +16 -4
  284. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +13 -0
  285. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/index.tsx +20 -0
  286. package/src/app/[variants]/(main)/settings/provider/features/CreateNewProvider/index.tsx +14 -7
  287. package/src/app/[variants]/(main)/settings/provider/features/ModelList/CreateNewModelModal/Form.tsx +2 -1
  288. package/src/app/[variants]/(main)/settings/provider/features/ModelList/CreateNewModelModal/index.tsx +2 -2
  289. package/src/app/[variants]/(main)/settings/provider/features/ModelList/DisabledModels.tsx +3 -5
  290. package/src/app/[variants]/(main)/settings/provider/features/ModelList/EmptyModels.tsx +2 -3
  291. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelConfigModal/index.tsx +2 -3
  292. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +1 -1
  293. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelTitle/Search.tsx +5 -17
  294. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelTitle/index.tsx +6 -6
  295. package/src/app/[variants]/(main)/settings/provider/features/ModelList/SortModelModal/index.tsx +2 -2
  296. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/Checker.tsx +5 -6
  297. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +3 -4
  298. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/index.tsx +3 -5
  299. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/index.tsx +10 -3
  300. package/src/app/[variants]/(main)/settings/storage/Advanced.tsx +5 -5
  301. package/src/app/[variants]/(main)/settings/sync/features/DeviceInfo/DeviceName.tsx +4 -4
  302. package/src/app/[variants]/(main)/settings/sync/features/WebRTC/ChannelNameInput.tsx +1 -2
  303. package/src/app/[variants]/(main)/settings/sync/features/WebRTC/SyncSwitch/index.css +2 -1
  304. package/src/app/[variants]/(main)/settings/sync/features/WebRTC/index.tsx +5 -7
  305. package/src/app/[variants]/(main)/settings/system-agent/features/createForm.tsx +4 -7
  306. package/src/app/[variants]/(main)/settings/tts/features/OpenAI.tsx +4 -6
  307. package/src/app/[variants]/(main)/settings/tts/features/STT.tsx +5 -6
  308. package/src/app/[variants]/(main)/settings/tts/features/const.tsx +1 -1
  309. package/src/app/[variants]/@modal/(.)changelog/modal/features/ReadDetail.tsx +8 -30
  310. package/src/app/[variants]/loading/Client/Error.tsx +1 -1
  311. package/src/app/[variants]/oauth/consent/[uid]/Consent.tsx +3 -2
  312. package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +2 -2
  313. package/src/app/[variants]/oauth/consent/[uid]/failed/page.tsx +2 -2
  314. package/src/app/desktop/devtools/page.tsx +5 -4
  315. package/src/components/404/index.tsx +1 -2
  316. package/src/components/Cell/index.tsx +2 -2
  317. package/src/components/DragUpload/index.tsx +4 -4
  318. package/src/components/Error/index.tsx +1 -2
  319. package/src/components/FeatureList/index.tsx +1 -1
  320. package/src/components/FileIcon/index.tsx +1 -1
  321. package/src/components/FileParsingStatus/EmbeddingStatus.tsx +1 -2
  322. package/src/components/FileParsingStatus/index.tsx +2 -2
  323. package/src/components/FormInput/FormInput.tsx +2 -2
  324. package/src/components/FormInput/FormPassword.tsx +3 -3
  325. package/src/components/FunctionModal/style.tsx +5 -1
  326. package/src/components/GroupIcon/index.tsx +1 -1
  327. package/src/components/IndexCard/index.tsx +2 -2
  328. package/src/components/MaxTokenSlider.tsx +3 -3
  329. package/src/components/Menu/index.tsx +5 -6
  330. package/src/components/ModelSelect/index.tsx +34 -56
  331. package/src/components/NextAuth/AuthIcons.tsx +3 -3
  332. package/src/components/Notification/index.tsx +2 -1
  333. package/src/components/OllamaSetupGuide/index.tsx +2 -2
  334. package/src/components/RepoIcon/index.tsx +1 -8
  335. package/src/components/SafeSpacing/index.tsx +3 -3
  336. package/src/components/SidebarHeader/index.tsx +6 -6
  337. package/src/components/StatisticCard/TitleWithPercentage.tsx +2 -1
  338. package/src/components/StatisticCard/index.tsx +4 -4
  339. package/src/components/TextArea/index.tsx +3 -3
  340. package/src/components/mdx/Image.tsx +1 -2
  341. package/src/config/aiModels/ai21.ts +2 -4
  342. package/src/config/aiModels/ai360.ts +4 -8
  343. package/src/config/aiModels/azure.ts +1 -2
  344. package/src/config/aiModels/azureai.ts +1 -2
  345. package/src/config/aiModels/cohere.ts +33 -35
  346. package/src/config/aiModels/doubao.ts +56 -56
  347. package/src/config/aiModels/fireworksai.ts +3 -5
  348. package/src/config/aiModels/giteeai.ts +1 -1
  349. package/src/config/aiModels/groq.ts +8 -4
  350. package/src/config/aiModels/hunyuan.ts +7 -5
  351. package/src/config/aiModels/minimax.ts +4 -2
  352. package/src/config/aiModels/mistral.ts +2 -1
  353. package/src/config/aiModels/moonshot.ts +2 -2
  354. package/src/config/aiModels/novita.ts +3 -3
  355. package/src/config/aiModels/nvidia.ts +22 -20
  356. package/src/config/aiModels/openai.ts +2 -4
  357. package/src/config/aiModels/openrouter.ts +5 -10
  358. package/src/config/aiModels/perplexity.ts +1 -2
  359. package/src/config/aiModels/ppio.ts +210 -193
  360. package/src/config/aiModels/qwen.ts +8 -4
  361. package/src/config/aiModels/sambanova.ts +39 -34
  362. package/src/config/aiModels/siliconcloud.ts +50 -50
  363. package/src/config/aiModels/stepfun.ts +6 -4
  364. package/src/config/aiModels/taichu.ts +12 -6
  365. package/src/config/aiModels/tencentcloud.ts +2 -2
  366. package/src/config/aiModels/togetherai.ts +10 -5
  367. package/src/config/aiModels/vllm.ts +11 -14
  368. package/src/config/aiModels/volcengine.ts +1 -2
  369. package/src/config/aiModels/wenxin.ts +8 -16
  370. package/src/config/aiModels/xai.ts +9 -4
  371. package/src/config/aiModels/xinference.ts +20 -25
  372. package/src/config/aiModels/zhipu.ts +3 -2
  373. package/src/config/modelProviders/ai360.ts +3 -6
  374. package/src/config/modelProviders/cohere.ts +2 -1
  375. package/src/config/modelProviders/deepseek.ts +2 -1
  376. package/src/config/modelProviders/doubao.ts +2 -1
  377. package/src/config/modelProviders/fireworksai.ts +2 -4
  378. package/src/config/modelProviders/giteeai.ts +1 -1
  379. package/src/config/modelProviders/index.ts +1 -1
  380. package/src/config/modelProviders/jina.ts +3 -2
  381. package/src/config/modelProviders/nvidia.ts +3 -2
  382. package/src/config/modelProviders/ppio.ts +249 -230
  383. package/src/config/modelProviders/siliconcloud.ts +38 -37
  384. package/src/config/modelProviders/stepfun.ts +1 -1
  385. package/src/config/modelProviders/vllm.ts +1 -1
  386. package/src/config/modelProviders/wenxin.ts +2 -4
  387. package/src/config/modelProviders/xinference.ts +2 -1
  388. package/src/config/modelProviders/zhipu.ts +1 -1
  389. package/src/const/hotkeys.ts +2 -2
  390. package/src/const/layoutTokens.test.ts +2 -2
  391. package/src/const/layoutTokens.ts +3 -3
  392. package/src/const/message.ts +1 -2
  393. package/src/features/AgentSetting/AgentCategory/index.tsx +29 -0
  394. package/src/{app/[variants]/(main)/chat/(workspace)/features/AgentSettings/CategoryContent → features/AgentSetting/AgentCategory}/useCategory.tsx +8 -6
  395. package/src/features/AgentSetting/AgentChat/index.tsx +32 -31
  396. package/src/features/AgentSetting/AgentMeta/AutoGenerateAvatar.tsx +26 -17
  397. package/src/features/AgentSetting/AgentMeta/AutoGenerateInput.tsx +2 -8
  398. package/src/features/AgentSetting/AgentMeta/AutoGenerateSelect.tsx +6 -8
  399. package/src/features/AgentSetting/AgentMeta/BackgroundSwatches.tsx +73 -13
  400. package/src/features/AgentSetting/AgentMeta/index.tsx +42 -45
  401. package/src/features/AgentSetting/AgentModal/index.tsx +39 -20
  402. package/src/features/AgentSetting/AgentOpening/OpeningMessage.tsx +3 -3
  403. package/src/features/AgentSetting/AgentOpening/OpeningQuestions.tsx +43 -41
  404. package/src/features/AgentSetting/AgentOpening/index.tsx +1 -1
  405. package/src/features/AgentSetting/AgentPlugin/AddPluginButton.tsx +2 -3
  406. package/src/features/AgentSetting/AgentPlugin/index.tsx +12 -11
  407. package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +12 -29
  408. package/src/features/AgentSetting/AgentPrompt/index.tsx +48 -147
  409. package/src/features/AgentSetting/AgentSettings.tsx +22 -18
  410. package/src/features/AgentSetting/AgentSettingsContent.tsx +39 -0
  411. package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +8 -5
  412. package/src/features/AgentSetting/AgentTTS/index.tsx +27 -28
  413. package/src/features/AgentSetting/AgentTTS/options.tsx +1 -1
  414. package/src/features/AgentSetting/index.tsx +2 -1
  415. package/src/features/AgentSetting/store/action.ts +24 -24
  416. package/src/features/AgentSetting/store/index.ts +2 -0
  417. package/src/features/AgentSetting/store/initialState.ts +6 -7
  418. package/src/features/AgentSetting/store/selectors.ts +19 -1
  419. package/src/features/AlertBanner/CloudBanner.tsx +1 -2
  420. package/src/features/ChatInput/ActionBar/Clear.tsx +7 -5
  421. package/src/features/ChatInput/ActionBar/History.tsx +37 -35
  422. package/src/features/ChatInput/ActionBar/Knowledge/Dropdown.tsx +30 -60
  423. package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +17 -13
  424. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +2 -1
  425. package/src/features/ChatInput/ActionBar/Model/ReasoningTokenSlider.tsx +3 -3
  426. package/src/features/ChatInput/ActionBar/Model/index.tsx +12 -38
  427. package/src/features/ChatInput/ActionBar/Params/ParamsControls.tsx +3 -17
  428. package/src/features/ChatInput/ActionBar/Params/index.tsx +10 -28
  429. package/src/features/ChatInput/ActionBar/Search/FCSearchModel.tsx +15 -4
  430. package/src/features/ChatInput/ActionBar/Search/FunctionCallingModelSelect/index.tsx +4 -3
  431. package/src/features/ChatInput/ActionBar/Search/ModelBuiltinSearch.tsx +5 -7
  432. package/src/features/ChatInput/ActionBar/Search/SwitchPanel.tsx +49 -60
  433. package/src/features/ChatInput/ActionBar/Search/index.tsx +25 -36
  434. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +7 -6
  435. package/src/features/ChatInput/ActionBar/Tools/Dropdown.tsx +75 -77
  436. package/src/features/ChatInput/ActionBar/Tools/ToolItem.tsx +4 -30
  437. package/src/features/ChatInput/ActionBar/Tools/index.tsx +5 -3
  438. package/src/features/ChatInput/ActionBar/Upload/ClientMode.tsx +6 -4
  439. package/src/features/ChatInput/ActionBar/Upload/ServerMode.tsx +16 -8
  440. package/src/features/ChatInput/ActionBar/index.tsx +2 -2
  441. package/src/features/ChatInput/ActionBar/styles.ts +14 -0
  442. package/src/features/ChatInput/Desktop/InputArea/index.tsx +2 -2
  443. package/src/features/ChatInput/Desktop/index.tsx +1 -1
  444. package/src/features/ChatInput/STT/common.tsx +10 -5
  445. package/src/features/ChatInput/Topic/index.tsx +3 -8
  446. package/src/features/ChatInput/components/ActionDropdown.tsx +62 -0
  447. package/src/features/ChatInput/components/ActionPopover.tsx +84 -0
  448. package/src/features/ChatInput/components/UploadDetail/UploadStatus.tsx +1 -1
  449. package/src/features/Conversation/Actions/Assistant.tsx +5 -14
  450. package/src/features/Conversation/Actions/Error.tsx +3 -3
  451. package/src/features/Conversation/Actions/Fallback.tsx +8 -2
  452. package/src/features/Conversation/Actions/Tool.tsx +0 -1
  453. package/src/features/Conversation/Actions/User.tsx +6 -4
  454. package/src/features/Conversation/Actions/customAction.ts +3 -3
  455. package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +8 -9
  456. package/src/features/Conversation/Error/APIKeyForm/ProviderApiKeyForm.tsx +1 -2
  457. package/src/features/Conversation/Error/APIKeyForm/index.tsx +1 -1
  458. package/src/features/Conversation/Error/AccessCodeForm.tsx +3 -3
  459. package/src/features/Conversation/Error/ClerkLogin/index.tsx +1 -1
  460. package/src/features/Conversation/Error/ErrorJsonViewer.tsx +1 -1
  461. package/src/features/Conversation/Error/InvalidAccessCode.tsx +2 -2
  462. package/src/features/Conversation/Error/OAuthForm.tsx +2 -2
  463. package/src/features/Conversation/Error/OllamaBizError/InvalidOllamaModel.tsx +1 -1
  464. package/src/features/Conversation/Error/OllamaDesktopSetupGuide/index.tsx +1 -1
  465. package/src/features/Conversation/Extras/TTS/Player.tsx +2 -3
  466. package/src/features/Conversation/Extras/Usage/UsageDetail/ModelCard.tsx +1 -2
  467. package/src/features/Conversation/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -1
  468. package/src/features/Conversation/Messages/Assistant/FileChunks/Item/index.tsx +1 -1
  469. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/ToolTitle.tsx +1 -1
  470. package/src/features/Conversation/Messages/Assistant/Tool/Render/ErrorResponse.tsx +1 -1
  471. package/src/features/Conversation/Messages/Assistant/Tool/Render/KeyValueEditor.tsx +2 -2
  472. package/src/features/Conversation/Messages/Assistant/Tool/Render/PluginSettings.tsx +2 -2
  473. package/src/features/Conversation/Messages/User/ImageFileListViewer.tsx +3 -3
  474. package/src/features/Conversation/Messages/User/MarkdownRender/ContentPreview.tsx +4 -29
  475. package/src/features/Conversation/components/BackBottom/index.tsx +1 -2
  476. package/src/features/Conversation/components/ChatItem/ActionsBar.tsx +5 -4
  477. package/src/features/Conversation/components/ChatItem/index.tsx +2 -2
  478. package/src/features/Conversation/components/History/index.tsx +1 -5
  479. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/Icon.tsx +5 -30
  480. package/src/features/Conversation/components/MarkdownElements/LocalFile/Render/LocalFile.tsx +1 -1
  481. package/src/features/Conversation/components/VirtualizedList/index.tsx +1 -6
  482. package/src/features/Conversation/hooks/useChatListActionsBar.tsx +7 -7
  483. package/src/features/Conversation/types/index.tsx +3 -3
  484. package/src/features/DataImporter/Error.tsx +3 -3
  485. package/src/features/DataImporter/ImportDetail.tsx +2 -2
  486. package/src/features/DataImporter/SuccessResult.tsx +2 -2
  487. package/src/features/DevPanel/FeatureFlagViewer/Form.tsx +1 -1
  488. package/src/features/DevPanel/MetadataViewer/Ld.tsx +1 -1
  489. package/src/features/DevPanel/MetadataViewer/MetaData.tsx +3 -4
  490. package/src/features/DevPanel/MetadataViewer/Og.tsx +3 -4
  491. package/src/features/DevPanel/MetadataViewer/index.tsx +3 -3
  492. package/src/features/DevPanel/PostgresViewer/SchemaSidebar/Columns.tsx +1 -1
  493. package/src/features/DevPanel/SystemInspector/index.tsx +3 -3
  494. package/src/features/DevPanel/features/FloatPanel.tsx +5 -4
  495. package/src/features/DevPanel/features/Header.tsx +1 -5
  496. package/src/features/DevPanel/features/Table/TooltipContent.tsx +1 -1
  497. package/src/features/ElectronTitlebar/Connection/ConnectionMode.tsx +1 -2
  498. package/src/features/ElectronTitlebar/Connection/RemoteStatus.tsx +3 -1
  499. package/src/features/ElectronTitlebar/Connection/Waiting.tsx +3 -3
  500. package/src/features/ElectronTitlebar/UpdateModal.tsx +2 -1
  501. package/src/features/ElectronTitlebar/UpdateNotification.tsx +2 -2
  502. package/src/features/FileManager/ChunkDrawer/Content.tsx +1 -0
  503. package/src/features/FileManager/ChunkDrawer/SimilaritySearchList/Item.tsx +1 -1
  504. package/src/features/FileManager/FileList/FileListItem/DropdownMenu.tsx +2 -2
  505. package/src/features/FileManager/FileList/FileListItem/index.tsx +5 -3
  506. package/src/features/FileManager/FileList/FileSkeleton.tsx +1 -1
  507. package/src/features/FileManager/FileList/ToolBar/Config.tsx +3 -2
  508. package/src/features/FileManager/FileList/ToolBar/MultiSelectActions.tsx +11 -3
  509. package/src/features/FileManager/FileList/index.tsx +1 -1
  510. package/src/features/FileManager/Header/FilesSearchBar.tsx +3 -8
  511. package/src/features/FileManager/Header/TogglePanelButton.tsx +42 -0
  512. package/src/features/FileManager/Header/UploadFileButton.tsx +4 -4
  513. package/src/features/FileManager/Header/index.tsx +14 -26
  514. package/src/features/FileManager/index.tsx +0 -1
  515. package/src/features/FileSidePanel/index.tsx +1 -1
  516. package/src/features/FileViewer/NotSupport/index.tsx +1 -2
  517. package/src/features/FileViewer/Renderer/TXT/index.tsx +6 -1
  518. package/src/features/HotkeyHelperPanel/index.tsx +3 -3
  519. package/src/features/InitClientDB/EnableModal.tsx +2 -3
  520. package/src/features/InitClientDB/ErrorResult.tsx +4 -4
  521. package/src/features/InitClientDB/features/DatabaseRepair/Backup.tsx +3 -3
  522. package/src/features/InitClientDB/features/DatabaseRepair/Diagnosis.tsx +2 -2
  523. package/src/features/InitClientDB/features/DatabaseRepair/Repair.tsx +2 -2
  524. package/src/features/InitClientDB/features/DatabaseRepair/index.tsx +12 -6
  525. package/src/features/KnowledgeBaseModal/AddFilesToKnowledgeBase/SelectForm.tsx +45 -62
  526. package/src/features/KnowledgeBaseModal/AddFilesToKnowledgeBase/index.tsx +1 -1
  527. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/Action.tsx +1 -2
  528. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/List.tsx +1 -1
  529. package/src/features/KnowledgeBaseModal/CreateNew/CreateForm.tsx +28 -38
  530. package/src/features/KnowledgeBaseModal/CreateNew/index.tsx +1 -1
  531. package/src/features/MobileSwitchLoading/index.tsx +1 -1
  532. package/src/features/MobileTabBar/index.tsx +5 -4
  533. package/src/features/ModelParamsControl/Temperature.tsx +1 -1
  534. package/src/features/ModelSelect/index.tsx +14 -4
  535. package/src/features/ModelSwitchPanel/index.tsx +4 -13
  536. package/src/features/OllamaModelDownloader/index.tsx +2 -2
  537. package/src/features/PluginDetailModal/Meta.tsx +13 -41
  538. package/src/features/PluginDetailModal/index.tsx +34 -30
  539. package/src/features/PluginDevModal/LocalForm.tsx +1 -0
  540. package/src/features/PluginDevModal/MCPManifestForm/ArgsInput.tsx +1 -1
  541. package/src/features/PluginDevModal/MCPManifestForm/MCPTypeSelect.tsx +3 -3
  542. package/src/features/PluginDevModal/MCPManifestForm/index.tsx +24 -24
  543. package/src/features/PluginDevModal/PluginPreview.tsx +14 -17
  544. package/src/features/PluginDevModal/UrlManifestForm.tsx +1 -1
  545. package/src/features/PluginDevModal/index.tsx +3 -2
  546. package/src/features/PluginSettings/PluginSettingRender.tsx +11 -43
  547. package/src/features/PluginSettings/index.tsx +38 -25
  548. package/src/features/PluginStore/AddPluginButton.tsx +2 -3
  549. package/src/features/PluginStore/InstalledPluginList.tsx +1 -3
  550. package/src/features/PluginStore/OnlineList.tsx +2 -4
  551. package/src/features/PluginStore/PluginItem/Action.tsx +2 -2
  552. package/src/features/PluginStore/PluginItem/PluginAvatar.tsx +8 -2
  553. package/src/features/PluginStore/PluginItem/PluginTag.tsx +2 -31
  554. package/src/features/PluginStore/index.tsx +2 -2
  555. package/src/features/PluginTag/PluginStatus.tsx +2 -2
  556. package/src/features/PluginTag/index.tsx +1 -3
  557. package/src/features/PluginsUI/Render/DefaultType/SystemJsRender/utils.ts +0 -1
  558. package/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx +4 -4
  559. package/src/features/Portal/Artifacts/Body/Renderer/index.tsx +1 -1
  560. package/src/features/Portal/Artifacts/Body/index.tsx +6 -3
  561. package/src/features/Portal/Artifacts/Header.tsx +11 -6
  562. package/src/features/Portal/FilePreview/Body/index.tsx +20 -7
  563. package/src/features/Portal/Plugins/Header.tsx +1 -1
  564. package/src/features/Portal/Thread/Chat/ChatInput/Footer.tsx +2 -2
  565. package/src/features/Portal/Thread/Header/Active.tsx +12 -6
  566. package/src/features/Portal/Thread/Header/New.tsx +13 -12
  567. package/src/features/Portal/Thread/Header/index.tsx +10 -3
  568. package/src/features/Setting/SettingContainer.tsx +12 -19
  569. package/src/features/ShareModal/ShareImage/Preview.tsx +2 -1
  570. package/src/features/ShareModal/ShareImage/index.tsx +8 -11
  571. package/src/features/ShareModal/ShareJSON/Preview.tsx +1 -1
  572. package/src/features/ShareModal/ShareJSON/index.tsx +6 -5
  573. package/src/features/ShareModal/ShareText/index.tsx +8 -5
  574. package/src/features/ShareModal/index.tsx +2 -3
  575. package/src/features/SyncStatusInspector/DisableSync.tsx +2 -2
  576. package/src/features/SyncStatusInspector/EnableSync.tsx +3 -3
  577. package/src/features/SyncStatusInspector/EnableTag.tsx +2 -2
  578. package/src/features/User/PlanTag.tsx +1 -2
  579. package/src/features/User/UserAvatar.tsx +1 -1
  580. package/src/features/User/UserLoginOrSignup/Community.tsx +1 -1
  581. package/src/features/User/UserPanel/LangButton.tsx +1 -1
  582. package/src/features/User/UserPanel/ThemeButton.tsx +1 -1
  583. package/src/features/User/UserPanel/useMenu.tsx +2 -1
  584. package/src/hooks/useHotkeys/filesScope.ts +37 -0
  585. package/src/hooks/useHotkeys/index.ts +1 -0
  586. package/src/hooks/useScreenshot.ts +1 -1
  587. package/src/layout/GlobalProvider/Locale.tsx +41 -1
  588. package/src/layout/GlobalProvider/index.tsx +12 -12
  589. package/src/libs/agent-runtime/ai360/index.ts +24 -31
  590. package/src/libs/agent-runtime/baichuan/index.ts +20 -20
  591. package/src/libs/agent-runtime/cohere/index.ts +10 -11
  592. package/src/libs/agent-runtime/deepseek/index.ts +25 -17
  593. package/src/libs/agent-runtime/fireworksai/index.ts +11 -14
  594. package/src/libs/agent-runtime/giteeai/index.ts +19 -25
  595. package/src/libs/agent-runtime/groq/index.ts +14 -16
  596. package/src/libs/agent-runtime/higress/index.ts +17 -17
  597. package/src/libs/agent-runtime/huggingface/index.ts +19 -23
  598. package/src/libs/agent-runtime/hunyuan/index.test.ts +40 -40
  599. package/src/libs/agent-runtime/hunyuan/index.ts +16 -21
  600. package/src/libs/agent-runtime/internlm/index.ts +9 -13
  601. package/src/libs/agent-runtime/jina/index.ts +12 -16
  602. package/src/libs/agent-runtime/lmstudio/index.ts +9 -13
  603. package/src/libs/agent-runtime/minimax/index.ts +3 -3
  604. package/src/libs/agent-runtime/moonshot/index.ts +26 -30
  605. package/src/libs/agent-runtime/novita/index.ts +17 -17
  606. package/src/libs/agent-runtime/nvidia/index.ts +9 -13
  607. package/src/libs/agent-runtime/ppio/fixtures/models.json +4 -10
  608. package/src/libs/agent-runtime/ppio/index.ts +19 -14
  609. package/src/libs/agent-runtime/siliconcloud/index.ts +19 -19
  610. package/src/libs/agent-runtime/spark/index.ts +1 -2
  611. package/src/libs/agent-runtime/stepfun/index.ts +29 -36
  612. package/src/libs/agent-runtime/tencentcloud/index.ts +12 -16
  613. package/src/libs/agent-runtime/utils/cloudflareHelpers.ts +1 -6
  614. package/src/libs/agent-runtime/utils/streams/openai.test.ts +0 -1
  615. package/src/libs/agent-runtime/vllm/index.ts +9 -13
  616. package/src/libs/agent-runtime/wenxin/index.test.ts +26 -18
  617. package/src/libs/agent-runtime/wenxin/index.ts +1 -1
  618. package/src/libs/agent-runtime/xai/index.ts +11 -13
  619. package/src/libs/agent-runtime/xinference/index.ts +15 -13
  620. package/src/libs/agent-runtime/zeroone/index.ts +9 -13
  621. package/src/libs/agent-runtime/zhipu/index.ts +33 -30
  622. package/src/libs/langchain/loaders/epub/index.ts +3 -2
  623. package/src/libs/langchain/loaders/index.ts +1 -1
  624. package/src/locales/default/color.ts +22 -0
  625. package/src/locales/default/common.ts +2 -2
  626. package/src/locales/default/file.ts +3 -0
  627. package/src/locales/default/index.ts +2 -0
  628. package/src/locales/default/setting.ts +15 -2
  629. package/src/server/modules/ContentChunk/rules.test.ts +1 -0
  630. package/src/server/utils/tempFileManager.ts +1 -1
  631. package/src/services/message/type.ts +2 -1
  632. package/src/services/plugin/client.test.ts +3 -1
  633. package/src/store/agent/selectors.ts +1 -1
  634. package/src/store/aiInfra/index.ts +1 -1
  635. package/src/store/chat/slices/builtinTool/actions/dalle.ts +0 -2
  636. package/src/store/chat/slices/portal/initialState.ts +7 -2
  637. package/src/store/session/index.ts +1 -1
  638. package/src/tools/dalle/Render/Item/EditMode.tsx +3 -3
  639. package/src/tools/dalle/Render/Item/Error.tsx +3 -4
  640. package/src/tools/dalle/Render/Item/index.tsx +1 -1
  641. package/src/tools/dalle/Render/ToolBar.tsx +2 -1
  642. package/src/tools/dalle/Render/index.tsx +4 -3
  643. package/src/tools/local-files/Render/ListFiles/index.tsx +1 -1
  644. package/src/tools/local-files/Render/ReadLocalFile/ReadFileView.tsx +1 -1
  645. package/src/tools/local-files/Render/SearchFiles/SearchQuery/index.tsx +5 -6
  646. package/src/tools/local-files/components/FileItem.tsx +1 -1
  647. package/src/tools/web-browsing/Portal/PageContent/index.tsx +14 -8
  648. package/src/tools/web-browsing/Portal/Search/Footer.tsx +2 -3
  649. package/src/tools/web-browsing/Portal/Search/ResultList/SearchItem/TitleExtra.tsx +2 -2
  650. package/src/tools/web-browsing/Render/Search/ConfigForm/Form.tsx +2 -3
  651. package/src/tools/web-browsing/Render/Search/ConfigForm/index.tsx +1 -1
  652. package/src/tools/web-browsing/Render/Search/SearchResult/index.tsx +3 -3
  653. package/src/tools/web-browsing/Render/Search/index.tsx +1 -1
  654. package/src/tools/web-browsing/components/SearchBar.tsx +3 -8
  655. package/src/types/hotkey.ts +1 -0
  656. package/src/app/[variants]/(main)/changelog/_layout/Desktop.tsx +0 -25
  657. package/src/app/[variants]/(main)/chat/(workspace)/features/AgentSettings/CategoryContent/index.tsx +0 -37
  658. package/src/app/[variants]/(main)/discover/features/ModelFeatureTags.tsx +0 -86
  659. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop.tsx +0 -37
  660. package/src/features/AgentSetting/useSyncAgemtSettings.ts +0 -14
  661. package/src/features/ChatInput/ActionBar/Search/ExaIcon.tsx +0 -15
@@ -6,15 +6,16 @@ const sambanovaChatModels: AIChatModelCard[] = [
6
6
  functionCall: true,
7
7
  },
8
8
  contextWindowTokens: 16_000,
9
- description: 'Llama 3.3 是 Llama 系列最先进的多语言开源大型语言模型,以极低成本体验媲美 405B 模型的性能。基于 Transformer 结构,并通过监督微调(SFT)和人类反馈强化学习(RLHF)提升有用性和安全性。其指令调优版本专为多语言对话优化,在多项行业基准上表现优于众多开源和封闭聊天模型。知识截止日期为 2023 年 12 月',
9
+ description:
10
+ 'Llama 3.3 是 Llama 系列最先进的多语言开源大型语言模型,以极低成本体验媲美 405B 模型的性能。基于 Transformer 结构,并通过监督微调(SFT)和人类反馈强化学习(RLHF)提升有用性和安全性。其指令调优版本专为多语言对话优化,在多项行业基准上表现优于众多开源和封闭聊天模型。知识截止日期为 2023 年 12 月',
10
11
  displayName: 'Meta Llama 3.3 70B Instruct',
11
12
  enabled: true,
12
13
  id: 'Meta-Llama-3.3-70B-Instruct',
13
14
  pricing: {
14
15
  input: 0.6,
15
- output: 1.2
16
+ output: 1.2,
16
17
  },
17
- type: 'chat'
18
+ type: 'chat',
18
19
  },
19
20
  {
20
21
  contextWindowTokens: 16_000,
@@ -23,9 +24,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
23
24
  id: 'Meta-Llama-3.2-1B-Instruct',
24
25
  pricing: {
25
26
  input: 0.04,
26
- output: 0.08
27
+ output: 0.08,
27
28
  },
28
- type: 'chat'
29
+ type: 'chat',
29
30
  },
30
31
  {
31
32
  contextWindowTokens: 8000,
@@ -34,9 +35,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
34
35
  id: 'Meta-Llama-3.2-3B-Instruct',
35
36
  pricing: {
36
37
  input: 0.08,
37
- output: 0.16
38
+ output: 0.16,
38
39
  },
39
- type: 'chat'
40
+ type: 'chat',
40
41
  },
41
42
  {
42
43
  abilities: {
@@ -49,9 +50,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
49
50
  id: 'Llama-3.2-11B-Vision-Instruct',
50
51
  pricing: {
51
52
  input: 0.15,
52
- output: 0.3
53
+ output: 0.3,
53
54
  },
54
- type: 'chat'
55
+ type: 'chat',
55
56
  },
56
57
  {
57
58
  abilities: {
@@ -64,51 +65,54 @@ const sambanovaChatModels: AIChatModelCard[] = [
64
65
  id: 'Llama-3.2-90B-Vision-Instruct ',
65
66
  pricing: {
66
67
  input: 0.8,
67
- output: 1.6
68
+ output: 1.6,
68
69
  },
69
- type: 'chat'
70
+ type: 'chat',
70
71
  },
71
72
  {
72
73
  abilities: {
73
74
  functionCall: true,
74
75
  },
75
76
  contextWindowTokens: 16_000,
76
- description: 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
77
+ description:
78
+ 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
77
79
  displayName: 'Meta Llama 3.1 8B Instruct',
78
80
  id: 'Meta-Llama-3.1-8B-Instruct',
79
81
  pricing: {
80
82
  input: 0.1,
81
- output: 0.2
83
+ output: 0.2,
82
84
  },
83
- type: 'chat'
85
+ type: 'chat',
84
86
  },
85
87
  {
86
88
  abilities: {
87
89
  functionCall: true,
88
90
  },
89
91
  contextWindowTokens: 128_000,
90
- description: 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
92
+ description:
93
+ 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
91
94
  displayName: 'Meta Llama 3.1 70B Instruct',
92
95
  id: 'Meta-Llama-3.1-70B-Instruct',
93
96
  pricing: {
94
97
  input: 0.6,
95
- output: 1.2
98
+ output: 1.2,
96
99
  },
97
- type: 'chat'
100
+ type: 'chat',
98
101
  },
99
102
  {
100
103
  abilities: {
101
104
  functionCall: true,
102
105
  },
103
106
  contextWindowTokens: 16_000,
104
- description: 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
107
+ description:
108
+ 'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
105
109
  displayName: 'Meta Llama 3.1 405B Instruct',
106
110
  id: 'Meta-Llama-3.1-405B-Instruct',
107
111
  pricing: {
108
112
  input: 5,
109
- output: 10
113
+ output: 10,
110
114
  },
111
- type: 'chat'
115
+ type: 'chat',
112
116
  },
113
117
  {
114
118
  contextWindowTokens: 16_000,
@@ -116,9 +120,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
116
120
  id: 'Llama-3.1-Tulu-3-405B',
117
121
  pricing: {
118
122
  input: 0.7,
119
- output: 1.4
123
+ output: 1.4,
120
124
  },
121
- type: 'chat'
125
+ type: 'chat',
122
126
  },
123
127
  {
124
128
  abilities: {
@@ -130,24 +134,25 @@ const sambanovaChatModels: AIChatModelCard[] = [
130
134
  id: 'DeepSeek-R1',
131
135
  pricing: {
132
136
  input: 5,
133
- output: 7
137
+ output: 7,
134
138
  },
135
- type: 'chat'
139
+ type: 'chat',
136
140
  },
137
141
  {
138
142
  abilities: {
139
143
  reasoning: true,
140
144
  },
141
145
  contextWindowTokens: 32_000,
142
- description: 'DeepSeek R1——DeepSeek 套件中更大更智能的模型——被蒸馏到 Llama 70B 架构中。基于基准测试和人工评估,该模型比原始 Llama 70B 更智能,尤其在需要数学和事实精确性的任务上表现出色。',
146
+ description:
147
+ 'DeepSeek R1——DeepSeek 套件中更大更智能的模型——被蒸馏到 Llama 70B 架构中。基于基准测试和人工评估,该模型比原始 Llama 70B 更智能,尤其在需要数学和事实精确性的任务上表现出色。',
143
148
  displayName: 'DeepSeek R1 Distill Llama 70B',
144
149
  enabled: true,
145
150
  id: 'DeepSeek-R1-Distill-Llama-70B',
146
151
  pricing: {
147
152
  input: 0.7,
148
- output: 1.4
153
+ output: 1.4,
149
154
  },
150
- type: 'chat'
155
+ type: 'chat',
151
156
  },
152
157
  {
153
158
  abilities: {
@@ -160,9 +165,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
160
165
  id: 'QwQ-32B-Preview',
161
166
  pricing: {
162
167
  input: 1.5,
163
- output: 3
168
+ output: 3,
164
169
  },
165
- type: 'chat'
170
+ type: 'chat',
166
171
  },
167
172
  {
168
173
  contextWindowTokens: 16_000,
@@ -172,9 +177,9 @@ const sambanovaChatModels: AIChatModelCard[] = [
172
177
  id: 'Qwen2.5-72B-Instruct',
173
178
  pricing: {
174
179
  input: 2,
175
- output: 4
180
+ output: 4,
176
181
  },
177
- type: 'chat'
182
+ type: 'chat',
178
183
  },
179
184
  {
180
185
  contextWindowTokens: 16_000,
@@ -184,11 +189,11 @@ const sambanovaChatModels: AIChatModelCard[] = [
184
189
  id: 'Qwen2.5-Coder-32B-Instruct',
185
190
  pricing: {
186
191
  input: 1.5,
187
- output: 3
192
+ output: 3,
188
193
  },
189
- type: 'chat'
194
+ type: 'chat',
190
195
  },
191
- ]
196
+ ];
192
197
 
193
198
  export const allModels = [...sambanovaChatModels];
194
199
 
@@ -143,7 +143,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
143
143
  'DeepSeek-V3 是一款拥有 6710 亿参数的混合专家(MoE)语言模型,采用多头潜在注意力(MLA)和 DeepSeekMoE 架构,结合无辅助损失的负载平衡策略,优化推理和训练效率。通过在 14.8 万亿高质量tokens上预训练,并进行监督微调和强化学习,DeepSeek-V3 在性能上超越其他开源模型,接近领先闭源模型。',
144
144
  displayName: 'DeepSeek V3 (Pro)',
145
145
  id: 'Pro/deepseek-ai/DeepSeek-V3',
146
- pricing: {
146
+ pricing: {
147
147
  currency: 'CNY',
148
148
  input: 2,
149
149
  output: 8,
@@ -159,7 +159,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
159
159
  'DeepSeek-V3 是一款拥有 6710 亿参数的混合专家(MoE)语言模型,采用多头潜在注意力(MLA)和 DeepSeekMoE 架构,结合无辅助损失的负载平衡策略,优化推理和训练效率。通过在 14.8 万亿高质量tokens上预训练,并进行监督微调和强化学习,DeepSeek-V3 在性能上超越其他开源模型,接近领先闭源模型。',
160
160
  displayName: 'DeepSeek V3 1226 (Pro)',
161
161
  id: 'Pro/deepseek-ai/DeepSeek-V3-1226', // 将于 2025 年 4 月 30 日废弃
162
- pricing: {
162
+ pricing: {
163
163
  currency: 'CNY',
164
164
  input: 2,
165
165
  output: 8,
@@ -168,99 +168,99 @@ const siliconcloudChatModels: AIChatModelCard[] = [
168
168
  },
169
169
  {
170
170
  abilities: {
171
- reasoning: true
171
+ reasoning: true,
172
172
  },
173
173
  contextWindowTokens: 32_768,
174
- description:
175
- "DeepSeek-R1-Distill-Qwen-32B 是基于 Qwen2.5-32B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在数学、编程和推理等多个领域展现出卓越的性能。在 AIME 2024、MATH-500、GPQA Diamond 等多个基准测试中都取得了优异成绩,其中在 MATH-500 上达到了 94.3% 的准确率,展现出强大的数学推理能力。",
176
- displayName: "DeepSeek R1 Distill Qwen 32B",
177
- id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
174
+ description:
175
+ 'DeepSeek-R1-Distill-Qwen-32B 是基于 Qwen2.5-32B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在数学、编程和推理等多个领域展现出卓越的性能。在 AIME 2024、MATH-500、GPQA Diamond 等多个基准测试中都取得了优异成绩,其中在 MATH-500 上达到了 94.3% 的准确率,展现出强大的数学推理能力。',
176
+ displayName: 'DeepSeek R1 Distill Qwen 32B',
177
+ id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-32B',
178
178
  pricing: {
179
- currency: "CNY",
179
+ currency: 'CNY',
180
180
  input: 1.26,
181
- output: 1.26
181
+ output: 1.26,
182
182
  },
183
- type: "chat"
183
+ type: 'chat',
184
184
  },
185
185
  {
186
186
  abilities: {
187
- reasoning: true
187
+ reasoning: true,
188
188
  },
189
189
  contextWindowTokens: 32_768,
190
- description:
191
- "DeepSeek-R1-Distill-Qwen-14B 是基于 Qwen2.5-14B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 93.9% 的准确率,在 AIME 2024 上达到了 69.7% 的通过率,在 CodeForces 上获得了 1481 的评分,显示出在数学和编程领域的强大实力。",
192
- displayName: "DeepSeek R1 Distill Qwen 14B",
193
- id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
190
+ description:
191
+ 'DeepSeek-R1-Distill-Qwen-14B 是基于 Qwen2.5-14B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 93.9% 的准确率,在 AIME 2024 上达到了 69.7% 的通过率,在 CodeForces 上获得了 1481 的评分,显示出在数学和编程领域的强大实力。',
192
+ displayName: 'DeepSeek R1 Distill Qwen 14B',
193
+ id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-14B',
194
194
  pricing: {
195
- currency: "CNY",
195
+ currency: 'CNY',
196
196
  input: 0.7,
197
- output: 0.7
197
+ output: 0.7,
198
198
  },
199
- type: "chat"
199
+ type: 'chat',
200
200
  },
201
201
  {
202
202
  abilities: {
203
- reasoning: true
203
+ reasoning: true,
204
204
  },
205
205
  contextWindowTokens: 32_768,
206
- description:
207
- "DeepSeek-R1-Distill-Qwen-7B 是基于 Qwen2.5-Math-7B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 92.8% 的准确率,在 AIME 2024 上达到了 55.5% 的通过率,在 CodeForces 上获得了 1189 的评分,作为 7B 规模的模型展示了较强的数学和编程能力。",
208
- displayName: "DeepSeek R1 Distill Qwen 7B (Free)",
209
- id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
206
+ description:
207
+ 'DeepSeek-R1-Distill-Qwen-7B 是基于 Qwen2.5-Math-7B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 92.8% 的准确率,在 AIME 2024 上达到了 55.5% 的通过率,在 CodeForces 上获得了 1189 的评分,作为 7B 规模的模型展示了较强的数学和编程能力。',
208
+ displayName: 'DeepSeek R1 Distill Qwen 7B (Free)',
209
+ id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B',
210
210
  pricing: {
211
- currency: "CNY",
211
+ currency: 'CNY',
212
212
  input: 0,
213
- output: 0
213
+ output: 0,
214
214
  },
215
- type: "chat",
215
+ type: 'chat',
216
216
  },
217
217
  {
218
218
  abilities: {
219
- reasoning: true
219
+ reasoning: true,
220
220
  },
221
221
  contextWindowTokens: 32_768,
222
- description:
223
- "DeepSeek-R1-Distill-Qwen-1.5B 是基于 Qwen2.5-Math-1.5B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在多个基准测试中展现出不错的性能。作为一个轻量级模型,在 MATH-500 上达到了 83.9% 的准确率,在 AIME 2024 上达到了 28.9% 的通过率,在 CodeForces 上获得了 954 的评分,显示出超出其参数规模的推理能力。",
224
- displayName: "DeepSeek-R1-Distill-Qwen-1.5B (Free)",
225
- id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
222
+ description:
223
+ 'DeepSeek-R1-Distill-Qwen-1.5B 是基于 Qwen2.5-Math-1.5B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在多个基准测试中展现出不错的性能。作为一个轻量级模型,在 MATH-500 上达到了 83.9% 的准确率,在 AIME 2024 上达到了 28.9% 的通过率,在 CodeForces 上获得了 954 的评分,显示出超出其参数规模的推理能力。',
224
+ displayName: 'DeepSeek-R1-Distill-Qwen-1.5B (Free)',
225
+ id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B',
226
226
  pricing: {
227
- currency: "CNY",
227
+ currency: 'CNY',
228
228
  input: 0,
229
- output: 0
229
+ output: 0,
230
230
  },
231
- type: "chat"
231
+ type: 'chat',
232
232
  },
233
233
  {
234
234
  abilities: {
235
- reasoning: true
235
+ reasoning: true,
236
236
  },
237
237
  contextWindowTokens: 32_768,
238
- description:
239
- "DeepSeek-R1-Distill-Qwen-7B 是基于 Qwen2.5-Math-7B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 92.8% 的准确率,在 AIME 2024 上达到了 55.5% 的通过率,在 CodeForces 上获得了 1189 的评分,作为 7B 规模的模型展示了较强的数学和编程能力。",
240
- displayName: "DeepSeek R1 Distill Qwen 7B (Pro)",
241
- id: "Pro/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
238
+ description:
239
+ 'DeepSeek-R1-Distill-Qwen-7B 是基于 Qwen2.5-Math-7B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。在多个基准测试中表现出色,其中在 MATH-500 上达到了 92.8% 的准确率,在 AIME 2024 上达到了 55.5% 的通过率,在 CodeForces 上获得了 1189 的评分,作为 7B 规模的模型展示了较强的数学和编程能力。',
240
+ displayName: 'DeepSeek R1 Distill Qwen 7B (Pro)',
241
+ id: 'Pro/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B',
242
242
  pricing: {
243
- currency: "CNY",
243
+ currency: 'CNY',
244
244
  input: 0.35,
245
- output: 0.35
245
+ output: 0.35,
246
246
  },
247
- type: "chat",
247
+ type: 'chat',
248
248
  },
249
249
  {
250
250
  abilities: {
251
- reasoning: true
251
+ reasoning: true,
252
252
  },
253
253
  contextWindowTokens: 32_768,
254
- description:
255
- "DeepSeek-R1-Distill-Qwen-1.5B 是基于 Qwen2.5-Math-1.5B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在多个基准测试中展现出不错的性能。作为一个轻量级模型,在 MATH-500 上达到了 83.9% 的准确率,在 AIME 2024 上达到了 28.9% 的通过率,在 CodeForces 上获得了 954 的评分,显示出超出其参数规模的推理能力。",
256
- displayName: "DeepSeek-R1-Distill-Qwen-1.5B (Pro)",
257
- id: "Pro/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
254
+ description:
255
+ 'DeepSeek-R1-Distill-Qwen-1.5B 是基于 Qwen2.5-Math-1.5B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在多个基准测试中展现出不错的性能。作为一个轻量级模型,在 MATH-500 上达到了 83.9% 的准确率,在 AIME 2024 上达到了 28.9% 的通过率,在 CodeForces 上获得了 954 的评分,显示出超出其参数规模的推理能力。',
256
+ displayName: 'DeepSeek-R1-Distill-Qwen-1.5B (Pro)',
257
+ id: 'Pro/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B',
258
258
  pricing: {
259
- currency: "CNY",
259
+ currency: 'CNY',
260
260
  input: 0.14,
261
- output: 0.14
261
+ output: 0.14,
262
262
  },
263
- type: "chat"
263
+ type: 'chat',
264
264
  },
265
265
  {
266
266
  abilities: {
@@ -11,7 +11,8 @@ const stepfunChatModels: AIChatModelCard[] = [
11
11
  vision: true,
12
12
  },
13
13
  contextWindowTokens: 100_000,
14
- description: '该模型是拥有强大的图像理解能力的推理大模型,能够处理图像和文字信息,经过深度思考后输出文本生成文本内容。该模型在视觉推理领域表现突出,同时拥有第一梯队的数学、代码、文本推理能力。上下文长度为100k。',
14
+ description:
15
+ '该模型是拥有强大的图像理解能力的推理大模型,能够处理图像和文字信息,经过深度思考后输出文本生成文本内容。该模型在视觉推理领域表现突出,同时拥有第一梯队的数学、代码、文本推理能力。上下文长度为100k。',
15
16
  displayName: 'Step R1 V Mini',
16
17
  enabled: true,
17
18
  id: 'step-r1-v-mini',
@@ -126,12 +127,12 @@ const stepfunChatModels: AIChatModelCard[] = [
126
127
  search: true,
127
128
  },
128
129
  contextWindowTokens: 8000,
129
- description:
130
+ description:
130
131
  '基于新一代自研Attention架构MFA的极速大模型,用极低成本达到和step1类似的效果,同时保持了更高的吞吐和更快响应时延。能够处理通用任务,在代码能力上具备特长。',
131
132
  displayName: 'Step 2 Mini',
132
133
  enabled: true,
133
134
  id: 'step-2-mini',
134
- pricing: {
135
+ pricing: {
135
136
  currency: 'CNY',
136
137
  input: 1,
137
138
  output: 2,
@@ -259,7 +260,8 @@ const stepfunChatModels: AIChatModelCard[] = [
259
260
  vision: true,
260
261
  },
261
262
  contextWindowTokens: 32_000,
262
- description: '该模型拥有强大的图像理解能力,在数理、代码领域强于1o。模型比1o更小,输出速度更快。',
263
+ description:
264
+ '该模型拥有强大的图像理解能力,在数理、代码领域强于1o。模型比1o更小,输出速度更快。',
263
265
  displayName: 'Step 1o Turbo Vision',
264
266
  enabled: true,
265
267
  id: 'step-1o-turbo-vision',
@@ -8,7 +8,8 @@ const taichuChatModels: AIChatModelCard[] = [
8
8
  reasoning: true,
9
9
  },
10
10
  contextWindowTokens: 32_768,
11
- description: 'taichu_o1是新一代推理大模型,通过多模态交互和强化学习实现类人思维链,支持复杂决策推演,在保持高精度输出的同时展现可模型推理的思维路径,适用于策略分析与深度思考等场景。',
11
+ description:
12
+ 'taichu_o1是新一代推理大模型,通过多模态交互和强化学习实现类人思维链,支持复杂决策推演,在保持高精度输出的同时展现可模型推理的思维路径,适用于策略分析与深度思考等场景。',
12
13
  displayName: 'Taichu O1',
13
14
  enabled: true,
14
15
  id: 'taichu_o1',
@@ -51,7 +52,8 @@ const taichuChatModels: AIChatModelCard[] = [
51
52
  reasoning: true,
52
53
  },
53
54
  contextWindowTokens: 131_072,
54
- description: 'DeepSeek-R1 是一款强化学习(RL)驱动的推理模型,解决了模型中的重复性和可读性问题。在 RL 之前,DeepSeek-R1 引入了冷启动数据,进一步优化了推理性能。它在数学、代码和推理任务中与 OpenAI-o1 表现相当,并且通过精心设计的训练方法,提升了整体效果。',
55
+ description:
56
+ 'DeepSeek-R1 是一款强化学习(RL)驱动的推理模型,解决了模型中的重复性和可读性问题。在 RL 之前,DeepSeek-R1 引入了冷启动数据,进一步优化了推理性能。它在数学、代码和推理任务中与 OpenAI-o1 表现相当,并且通过精心设计的训练方法,提升了整体效果。',
55
57
  displayName: 'DeepSeek R1',
56
58
  id: 'deepseek_r1',
57
59
  type: 'chat',
@@ -61,7 +63,8 @@ const taichuChatModels: AIChatModelCard[] = [
61
63
  reasoning: true,
62
64
  },
63
65
  contextWindowTokens: 131_072,
64
- description: 'DeepSeek-R1-Distill-Qwen-14B 是基于 Qwen2.5-14B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。',
66
+ description:
67
+ 'DeepSeek-R1-Distill-Qwen-14B 是基于 Qwen2.5-14B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。',
65
68
  displayName: 'DeepSeek R1 Distill Qwen 14B',
66
69
  id: 'deepseek_r1_distill_qwen_14b',
67
70
  type: 'chat',
@@ -71,7 +74,8 @@ const taichuChatModels: AIChatModelCard[] = [
71
74
  reasoning: true,
72
75
  },
73
76
  contextWindowTokens: 131_072,
74
- description: 'DeepSeek-R1-Distill-Qwen-32B 是基于 Qwen2.5-32B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在数学、编程和推理等多个领域展现出卓越的性能。',
77
+ description:
78
+ 'DeepSeek-R1-Distill-Qwen-32B 是基于 Qwen2.5-32B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在数学、编程和推理等多个领域展现出卓越的性能。',
75
79
  displayName: 'DeepSeek R1 Distill Qwen 32B',
76
80
  id: 'deepseek_r1_distill_qwen_32b',
77
81
  type: 'chat',
@@ -81,7 +85,8 @@ const taichuChatModels: AIChatModelCard[] = [
81
85
  reasoning: true,
82
86
  },
83
87
  contextWindowTokens: 131_072,
84
- description: 'DeepSeek-R1-Distill-Llama-70B 是基于 Llama-3.3-70B-Instruct 经过蒸馏训练得到的模型。该模型是 DeepSeek-R1 系列的一部分,通过使用 DeepSeek-R1 生成的样本进行微调,在数学、编程和推理等多个领域展现出优秀的性能。',
88
+ description:
89
+ 'DeepSeek-R1-Distill-Llama-70B 是基于 Llama-3.3-70B-Instruct 经过蒸馏训练得到的模型。该模型是 DeepSeek-R1 系列的一部分,通过使用 DeepSeek-R1 生成的样本进行微调,在数学、编程和推理等多个领域展现出优秀的性能。',
85
90
  displayName: 'DeepSeek R1 Distill Llama 70B',
86
91
  id: 'deepseek_r1_distill_llama_70b',
87
92
  type: 'chat',
@@ -91,7 +96,8 @@ const taichuChatModels: AIChatModelCard[] = [
91
96
  reasoning: true,
92
97
  },
93
98
  contextWindowTokens: 32_768,
94
- description: 'Qwen 系列中等规模的推理模型。与传统的指令调优模型相比,具备思考和推理能力的 QwQ 在下游任务中,尤其是在解决难题时,能够显著提升性能。',
99
+ description:
100
+ 'Qwen 系列中等规模的推理模型。与传统的指令调优模型相比,具备思考和推理能力的 QwQ 在下游任务中,尤其是在解决难题时,能够显著提升性能。',
95
101
  displayName: 'QwQ 32B',
96
102
  id: 'qwq_32b',
97
103
  type: 'chat',
@@ -1,4 +1,5 @@
1
1
  import { AIChatModelCard } from '@/types/aiModel';
2
+
2
3
  // https://cloud.tencent.com/document/product/1772/115969
3
4
  const tencentCloudChatModels: AIChatModelCard[] = [
4
5
  {
@@ -36,8 +37,7 @@ const tencentCloudChatModels: AIChatModelCard[] = [
36
37
  },
37
38
  {
38
39
  contextWindowTokens: 65_536,
39
- description:
40
- 'DeepSeek-V3 为671B 参数 MoE 模型,在百科知识、数学推理等多项任务上优势突出。',
40
+ description: 'DeepSeek-V3 为671B 参数 MoE 模型,在百科知识、数学推理等多项任务上优势突出。',
41
41
  displayName: 'DeepSeek V3',
42
42
  id: 'deepseek-v3',
43
43
  maxOutput: 16_000,
@@ -262,7 +262,8 @@ const togetheraiChatModels: AIChatModelCard[] = [
262
262
  reasoning: true,
263
263
  },
264
264
  contextWindowTokens: 32_768,
265
- description: 'DeepSeek-R1 系列通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆,超越 OpenAI-o1-mini 水平。',
265
+ description:
266
+ 'DeepSeek-R1 系列通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆,超越 OpenAI-o1-mini 水平。',
266
267
  displayName: 'DeepSeek-R1',
267
268
  enabled: true,
268
269
  id: 'deepseek-ai/DeepSeek-R1',
@@ -273,7 +274,8 @@ const togetheraiChatModels: AIChatModelCard[] = [
273
274
  reasoning: true,
274
275
  },
275
276
  contextWindowTokens: 131_072,
276
- description: 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
277
+ description:
278
+ 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
277
279
  displayName: 'DeepSeek R1 Distill Qwen 1.5B',
278
280
  id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B',
279
281
  type: 'chat',
@@ -283,7 +285,8 @@ const togetheraiChatModels: AIChatModelCard[] = [
283
285
  reasoning: true,
284
286
  },
285
287
  contextWindowTokens: 131_072,
286
- description: 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
288
+ description:
289
+ 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
287
290
  displayName: 'DeepSeek R1 Distill Qwen 14B',
288
291
  id: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-14B',
289
292
  type: 'chat',
@@ -293,14 +296,16 @@ const togetheraiChatModels: AIChatModelCard[] = [
293
296
  reasoning: true,
294
297
  },
295
298
  contextWindowTokens: 131_072,
296
- description: 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
299
+ description:
300
+ 'DeepSeek-R1 蒸馏模型,通过强化学习与冷启动数据优化推理性能,开源模型刷新多任务标杆。',
297
301
  displayName: 'DeepSeek R1 Distill Llama 70B',
298
302
  id: 'deepseek-ai/DeepSeek-R1-Distill-Llama-70B',
299
303
  type: 'chat',
300
304
  },
301
305
  {
302
306
  contextWindowTokens: 16_384,
303
- description: '最新模型 DeepSeek-V3 多项评测成绩超越 Qwen2.5-72B 和 Llama-3.1-405B 等开源模型,性能对齐领军闭源模型 GPT-4o 与 Claude-3.5-Sonnet。',
307
+ description:
308
+ '最新模型 DeepSeek-V3 多项评测成绩超越 Qwen2.5-72B 和 Llama-3.1-405B 等开源模型,性能对齐领军闭源模型 GPT-4o 与 Claude-3.5-Sonnet。',
304
309
  displayName: 'DeepSeek-V3',
305
310
  enabled: true,
306
311
  id: 'deepseek-ai/DeepSeek-V3',
@@ -3,7 +3,7 @@ import { AIChatModelCard } from '@/types/aiModel';
3
3
  const vllmChatModels: AIChatModelCard[] = [
4
4
  {
5
5
  abilities: {
6
- functionCall: true
6
+ functionCall: true,
7
7
  },
8
8
  contextWindowTokens: 128_000,
9
9
  description:
@@ -15,7 +15,7 @@ const vllmChatModels: AIChatModelCard[] = [
15
15
  },
16
16
  {
17
17
  abilities: {
18
- functionCall: true
18
+ functionCall: true,
19
19
  },
20
20
  contextWindowTokens: 128_000,
21
21
  description:
@@ -26,39 +26,35 @@ const vllmChatModels: AIChatModelCard[] = [
26
26
  },
27
27
  {
28
28
  contextWindowTokens: 8192,
29
- description:
30
- 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
29
+ description: 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
31
30
  displayName: 'Gemma 2 9B',
32
31
  id: 'google/gemma-2-9b',
33
32
  type: 'chat',
34
33
  },
35
34
  {
36
35
  contextWindowTokens: 8192,
37
- description:
38
- 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
36
+ description: 'Gemma 2 是 Google 推出的高效模型,涵盖从小型应用到复杂数据处理的多种应用场景。',
39
37
  displayName: 'Gemma 2 27B',
40
38
  id: 'google/gemma-2-27b',
41
39
  type: 'chat',
42
40
  },
43
41
  {
44
42
  contextWindowTokens: 8192,
45
- description:
46
- 'Mistral (7B) Instruct 以高性能著称,适用于多种语言任务。',
43
+ description: 'Mistral (7B) Instruct 以高性能著称,适用于多种语言任务。',
47
44
  displayName: 'Mistral 7B Instruct v0.1',
48
45
  id: 'mistralai/Mistral-7B-Instruct-v0.1',
49
46
  type: 'chat',
50
47
  },
51
48
  {
52
49
  contextWindowTokens: 32_768,
53
- description:
54
- 'Mixtral-8x7B Instruct (46.7B) 提供高容量的计算框架,适合大规模数据处理。',
50
+ description: 'Mixtral-8x7B Instruct (46.7B) 提供高容量的计算框架,适合大规模数据处理。',
55
51
  displayName: 'Mistral 8x7B Instruct v0.1',
56
52
  id: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
57
53
  type: 'chat',
58
54
  },
59
55
  {
60
56
  abilities: {
61
- functionCall: true
57
+ functionCall: true,
62
58
  },
63
59
  contextWindowTokens: 65_536,
64
60
  description:
@@ -70,7 +66,7 @@ const vllmChatModels: AIChatModelCard[] = [
70
66
  },
71
67
  {
72
68
  abilities: {
73
- reasoning: true
69
+ reasoning: true,
74
70
  },
75
71
  contextWindowTokens: 32_768,
76
72
  description: 'Qwen QwQ 是由 Qwen 团队开发的实验研究模型,专注于提升AI推理能力。',
@@ -81,13 +77,14 @@ const vllmChatModels: AIChatModelCard[] = [
81
77
  },
82
78
  {
83
79
  contextWindowTokens: 32_768,
84
- description: 'Qwen2-7B-Instruct 是 Qwen2 系列中的指令微调大语言模型,参数规模为 7B。该模型基于 Transformer 架构,采用了 SwiGLU 激活函数、注意力 QKV 偏置和组查询注意力等技术。它能够处理大规模输入。该模型在语言理解、生成、多语言能力、编码、数学和推理等多个基准测试中表现出色,超越了大多数开源模型,并在某些任务上展现出与专有模型相当的竞争力。Qwen2-7B-Instruct 在多项评测中均优于 Qwen1.5-7B-Chat,显示出显著的性能提升',
80
+ description:
81
+ 'Qwen2-7B-Instruct 是 Qwen2 系列中的指令微调大语言模型,参数规模为 7B。该模型基于 Transformer 架构,采用了 SwiGLU 激活函数、注意力 QKV 偏置和组查询注意力等技术。它能够处理大规模输入。该模型在语言理解、生成、多语言能力、编码、数学和推理等多个基准测试中表现出色,超越了大多数开源模型,并在某些任务上展现出与专有模型相当的竞争力。Qwen2-7B-Instruct 在多项评测中均优于 Qwen1.5-7B-Chat,显示出显著的性能提升',
85
82
  displayName: 'Qwen2 7B Instruct',
86
83
  enabled: true,
87
84
  id: 'Qwen/Qwen2-7B-Instruct',
88
85
  type: 'chat',
89
86
  },
90
- ]
87
+ ];
91
88
 
92
89
  export const allModels = [...vllmChatModels];
93
90
 
@@ -178,8 +178,7 @@ const doubaoChatModels: AIChatModelCard[] = [
178
178
  deploymentName: 'doubao-1-5-lite-32k-250115',
179
179
  },
180
180
  contextWindowTokens: 32_768,
181
- description:
182
- 'Doubao-1.5-lite 全新一代轻量版模型,极致响应速度,效果与时延均达到全球一流水平。',
181
+ description: 'Doubao-1.5-lite 全新一代轻量版模型,极致响应速度,效果与时延均达到全球一流水平。',
183
182
  displayName: 'Doubao 1.5 Lite 32k',
184
183
  enabled: true,
185
184
  id: 'doubao-1.5-lite-32k',