@lobehub/chat 1.43.6 → 1.44.0

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 (298) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/changelog/v1.json +9 -0
  3. package/docs/self-hosting/server-database/docker-compose.mdx +2 -2
  4. package/locales/ar/common.json +1 -0
  5. package/locales/ar/modelProvider.json +176 -0
  6. package/locales/ar/setting.json +1 -0
  7. package/locales/bg-BG/common.json +1 -0
  8. package/locales/bg-BG/modelProvider.json +176 -0
  9. package/locales/bg-BG/setting.json +1 -0
  10. package/locales/de-DE/common.json +1 -0
  11. package/locales/de-DE/modelProvider.json +176 -0
  12. package/locales/de-DE/setting.json +1 -0
  13. package/locales/en-US/common.json +1 -0
  14. package/locales/en-US/modelProvider.json +176 -0
  15. package/locales/en-US/setting.json +1 -0
  16. package/locales/es-ES/common.json +1 -0
  17. package/locales/es-ES/modelProvider.json +176 -0
  18. package/locales/es-ES/setting.json +1 -0
  19. package/locales/fa-IR/common.json +1 -0
  20. package/locales/fa-IR/modelProvider.json +176 -0
  21. package/locales/fa-IR/setting.json +1 -0
  22. package/locales/fr-FR/common.json +1 -0
  23. package/locales/fr-FR/modelProvider.json +176 -0
  24. package/locales/fr-FR/setting.json +1 -0
  25. package/locales/it-IT/common.json +1 -0
  26. package/locales/it-IT/modelProvider.json +176 -0
  27. package/locales/it-IT/setting.json +1 -0
  28. package/locales/ja-JP/common.json +1 -0
  29. package/locales/ja-JP/modelProvider.json +176 -0
  30. package/locales/ja-JP/setting.json +1 -0
  31. package/locales/ko-KR/common.json +1 -0
  32. package/locales/ko-KR/modelProvider.json +176 -0
  33. package/locales/ko-KR/setting.json +1 -0
  34. package/locales/nl-NL/common.json +1 -0
  35. package/locales/nl-NL/modelProvider.json +176 -0
  36. package/locales/nl-NL/setting.json +1 -0
  37. package/locales/pl-PL/common.json +1 -0
  38. package/locales/pl-PL/modelProvider.json +176 -0
  39. package/locales/pl-PL/setting.json +1 -0
  40. package/locales/pt-BR/common.json +1 -0
  41. package/locales/pt-BR/modelProvider.json +176 -0
  42. package/locales/pt-BR/setting.json +1 -0
  43. package/locales/ru-RU/common.json +1 -0
  44. package/locales/ru-RU/modelProvider.json +176 -0
  45. package/locales/ru-RU/setting.json +1 -0
  46. package/locales/tr-TR/common.json +1 -0
  47. package/locales/tr-TR/modelProvider.json +176 -0
  48. package/locales/tr-TR/setting.json +1 -0
  49. package/locales/vi-VN/common.json +1 -0
  50. package/locales/vi-VN/modelProvider.json +176 -0
  51. package/locales/vi-VN/setting.json +1 -0
  52. package/locales/zh-CN/common.json +1 -0
  53. package/locales/zh-CN/modelProvider.json +176 -0
  54. package/locales/zh-CN/setting.json +1 -0
  55. package/locales/zh-TW/common.json +1 -0
  56. package/locales/zh-TW/modelProvider.json +176 -0
  57. package/locales/zh-TW/setting.json +1 -0
  58. package/package.json +4 -4
  59. package/src/app/(main)/(mobile)/me/settings/features/Category.tsx +1 -1
  60. package/src/app/(main)/(mobile)/me/settings/features/useCategory.tsx +12 -5
  61. package/src/app/(main)/changelog/features/VersionTag.tsx +1 -2
  62. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +1 -1
  63. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/ThreadItem.tsx +1 -2
  64. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -1
  65. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/AgentsSuggest.tsx +1 -1
  66. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/QuestionSuggest.tsx +1 -1
  67. package/src/app/(main)/chat/(workspace)/@conversation/features/ZenModeToast/Toast.tsx +1 -1
  68. package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ThreadItem/index.tsx +0 -2
  69. package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/TopicItem/index.tsx +0 -1
  70. package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Tags.tsx +2 -3
  71. package/src/app/(main)/chat/@session/features/SessionListContent/CollapseGroup/index.tsx +1 -1
  72. package/src/app/(main)/chat/features/Migration/Start.tsx +1 -1
  73. package/src/app/(main)/discover/(detail)/assistant/[slug]/features/ConversationExample/TopicList.tsx +4 -3
  74. package/src/app/(main)/discover/(detail)/assistant/[slug]/features/Header.tsx +1 -1
  75. package/src/app/(main)/discover/(detail)/features/ShareButton.tsx +2 -1
  76. package/src/app/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +1 -1
  77. package/src/app/(main)/discover/(detail)/plugin/[slug]/features/Header.tsx +1 -1
  78. package/src/app/(main)/discover/(detail)/provider/[slug]/features/Header.tsx +1 -1
  79. package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +0 -1
  80. package/src/app/(main)/discover/(list)/assistants/features/Card.tsx +1 -1
  81. package/src/app/(main)/discover/(list)/models/features/Card.tsx +1 -1
  82. package/src/app/(main)/discover/(list)/plugins/features/Card.tsx +1 -1
  83. package/src/app/(main)/discover/(list)/providers/features/Card.tsx +1 -1
  84. package/src/app/(main)/discover/components/GridLoadingCard.tsx +2 -1
  85. package/src/app/(main)/discover/components/Title.tsx +1 -1
  86. package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +1 -1
  87. package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/Item/index.tsx +0 -1
  88. package/src/app/(main)/files/(content)/@modal/(.)[id]/FullscreenModal.tsx +2 -2
  89. package/src/app/(main)/files/(content)/NotSupportClient.tsx +2 -2
  90. package/src/app/(main)/profile/_layout/Desktop/SideBar.tsx +1 -1
  91. package/src/app/(main)/profile/stats/features/ShareButton/Preview.tsx +5 -5
  92. package/src/app/(main)/repos/[id]/evals/components/Container.tsx +1 -1
  93. package/src/app/(main)/repos/[id]/evals/dataset/DatasetList/Item.tsx +0 -1
  94. package/src/app/(main)/settings/_layout/Desktop/SideBar.tsx +1 -1
  95. package/src/app/(main)/settings/about/features/ItemCard.tsx +3 -3
  96. package/src/app/(main)/settings/about/features/Version.tsx +1 -1
  97. package/src/app/(main)/settings/hooks/useCategory.tsx +22 -9
  98. package/src/app/(main)/settings/llm/components/ProviderConfig/index.tsx +2 -1
  99. package/src/app/(main)/settings/llm/components/ProviderModelList/ModelFetcher.tsx +0 -1
  100. package/src/app/(main)/settings/provider/(detail)/[id]/index.tsx +19 -0
  101. package/src/app/(main)/settings/provider/(detail)/[id]/page.tsx +95 -0
  102. package/src/app/(main)/settings/provider/(detail)/azure/page.tsx +119 -0
  103. package/src/app/(main)/settings/provider/(detail)/bedrock/page.tsx +91 -0
  104. package/src/app/(main)/settings/provider/(detail)/cloudflare/page.tsx +58 -0
  105. package/src/app/(main)/settings/provider/(detail)/github/page.tsx +67 -0
  106. package/src/app/(main)/settings/provider/(detail)/huggingface/page.tsx +67 -0
  107. package/src/app/(main)/settings/provider/(detail)/ollama/Checker.tsx +73 -0
  108. package/src/app/(main)/settings/provider/(detail)/ollama/page.tsx +34 -0
  109. package/src/app/(main)/settings/provider/(detail)/openai/page.tsx +23 -0
  110. package/src/app/(main)/settings/provider/(detail)/wenxin/page.tsx +61 -0
  111. package/src/app/(main)/settings/provider/(list)/Footer.tsx +36 -0
  112. package/src/app/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +134 -0
  113. package/src/app/(main)/settings/provider/(list)/ProviderGrid/index.tsx +91 -0
  114. package/src/app/(main)/settings/provider/(list)/index.tsx +19 -0
  115. package/src/app/(main)/settings/provider/ProviderMenu/AddNew.tsx +28 -0
  116. package/src/app/(main)/settings/provider/ProviderMenu/All.tsx +29 -0
  117. package/src/app/(main)/settings/provider/ProviderMenu/Item.tsx +69 -0
  118. package/src/app/(main)/settings/provider/ProviderMenu/List.tsx +76 -0
  119. package/src/app/(main)/settings/provider/ProviderMenu/SearchResult.tsx +43 -0
  120. package/src/app/(main)/settings/provider/ProviderMenu/SkeletonList.tsx +60 -0
  121. package/src/app/(main)/settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsx +30 -0
  122. package/src/app/(main)/settings/provider/ProviderMenu/SortProviderModal/index.tsx +91 -0
  123. package/src/app/(main)/settings/provider/ProviderMenu/index.tsx +80 -0
  124. package/src/app/(main)/settings/provider/_layout/Desktop.tsx +37 -0
  125. package/src/app/(main)/settings/provider/_layout/Mobile.tsx +14 -0
  126. package/src/app/(main)/settings/provider/const.ts +20 -0
  127. package/src/app/(main)/settings/provider/features/CreateNewProvider/index.tsx +146 -0
  128. package/src/app/(main)/settings/provider/features/ModelList/CreateNewModelModal/Form.tsx +105 -0
  129. package/src/app/(main)/settings/provider/features/ModelList/CreateNewModelModal/index.tsx +69 -0
  130. package/src/app/(main)/settings/provider/features/ModelList/DisabledModels.tsx +29 -0
  131. package/src/app/(main)/settings/provider/features/ModelList/EmptyModels.tsx +101 -0
  132. package/src/app/(main)/settings/provider/features/ModelList/EnabledModelList/index.tsx +85 -0
  133. package/src/app/(main)/settings/provider/features/ModelList/ModelConfigModal/Form.tsx +109 -0
  134. package/src/app/(main)/settings/provider/features/ModelList/ModelConfigModal/index.tsx +76 -0
  135. package/src/app/(main)/settings/provider/features/ModelList/ModelItem.tsx +346 -0
  136. package/src/app/(main)/settings/provider/features/ModelList/ModelTitle/Search.tsx +37 -0
  137. package/src/app/(main)/settings/provider/features/ModelList/ModelTitle/index.tsx +145 -0
  138. package/src/app/(main)/settings/provider/features/ModelList/SearchResult.tsx +67 -0
  139. package/src/app/(main)/settings/provider/features/ModelList/SkeletonList.tsx +63 -0
  140. package/src/app/(main)/settings/provider/features/ModelList/SortModelModal/ListItem.tsx +20 -0
  141. package/src/app/(main)/settings/provider/features/ModelList/SortModelModal/index.tsx +96 -0
  142. package/src/app/(main)/settings/provider/features/ModelList/index.tsx +59 -0
  143. package/src/app/(main)/settings/provider/features/ProviderConfig/Checker.tsx +120 -0
  144. package/src/app/(main)/settings/provider/features/ProviderConfig/SkeletonInput.tsx +5 -0
  145. package/src/app/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +137 -0
  146. package/src/app/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/index.tsx +49 -0
  147. package/src/app/(main)/settings/provider/features/ProviderConfig/index.tsx +343 -0
  148. package/src/app/(main)/settings/provider/layout.tsx +21 -0
  149. package/src/app/(main)/settings/provider/page.tsx +17 -0
  150. package/src/app/(main)/settings/provider/type.ts +5 -0
  151. package/src/app/(main)/settings/sync/features/DeviceInfo/Card.tsx +1 -1
  152. package/src/app/(main)/settings/sync/features/DeviceInfo/index.tsx +1 -1
  153. package/src/app/@modal/(.)changelog/modal/features/ReadDetail.tsx +1 -1
  154. package/src/app/@modal/(.)changelog/modal/features/VersionTag.tsx +1 -2
  155. package/src/app/@modal/(.)changelog/modal/layout.tsx +1 -1
  156. package/src/components/Cell/index.tsx +1 -1
  157. package/src/components/DragUpload/index.tsx +2 -3
  158. package/src/components/FeatureList/index.tsx +1 -1
  159. package/src/components/FileParsingStatus/EmbeddingStatus.tsx +1 -1
  160. package/src/components/FileParsingStatus/index.tsx +1 -1
  161. package/src/components/FunctionModal/style.tsx +2 -2
  162. package/src/components/GoBack/index.tsx +1 -2
  163. package/src/components/HotKeys/index.tsx +1 -1
  164. package/src/components/InstantSwitch/index.tsx +28 -0
  165. package/src/components/Menu/index.tsx +1 -1
  166. package/src/components/ModelSelect/index.tsx +2 -3
  167. package/src/components/Notification/index.tsx +2 -1
  168. package/src/components/StatisticCard/index.tsx +5 -6
  169. package/src/config/aiModels/ai21.ts +38 -0
  170. package/src/config/aiModels/ai360.ts +71 -0
  171. package/src/config/aiModels/anthropic.ts +152 -0
  172. package/src/config/aiModels/azure.ts +86 -0
  173. package/src/config/aiModels/baichuan.ts +107 -0
  174. package/src/config/aiModels/bedrock.ts +315 -0
  175. package/src/config/aiModels/cloudflare.ts +88 -0
  176. package/src/config/aiModels/deepseek.ts +27 -0
  177. package/src/config/aiModels/fireworksai.ts +232 -0
  178. package/src/config/aiModels/giteeai.ts +137 -0
  179. package/src/config/aiModels/github.ts +273 -0
  180. package/src/config/aiModels/google.ts +317 -0
  181. package/src/config/aiModels/groq.ts +202 -0
  182. package/src/config/aiModels/higress.ts +2828 -0
  183. package/src/config/aiModels/huggingface.ts +56 -0
  184. package/src/config/aiModels/hunyuan.ts +151 -0
  185. package/src/config/aiModels/index.ts +98 -0
  186. package/src/config/aiModels/internlm.ts +40 -0
  187. package/src/config/aiModels/minimax.ts +55 -0
  188. package/src/config/aiModels/mistral.ts +172 -0
  189. package/src/config/aiModels/moonshot.ts +44 -0
  190. package/src/config/aiModels/novita.ts +124 -0
  191. package/src/config/aiModels/ollama.ts +412 -0
  192. package/src/config/aiModels/openai.ts +537 -0
  193. package/src/config/aiModels/openrouter.ts +252 -0
  194. package/src/config/aiModels/perplexity.ts +67 -0
  195. package/src/config/aiModels/qwen.ts +302 -0
  196. package/src/config/aiModels/sensenova.ts +114 -0
  197. package/src/config/aiModels/siliconcloud.ts +679 -0
  198. package/src/config/aiModels/spark.ts +68 -0
  199. package/src/config/aiModels/stepfun.ts +153 -0
  200. package/src/config/aiModels/taichu.ts +19 -0
  201. package/src/config/aiModels/togetherai.ts +334 -0
  202. package/src/config/aiModels/upstage.ts +37 -0
  203. package/src/config/aiModels/wenxin.ts +171 -0
  204. package/src/config/aiModels/xai.ts +72 -0
  205. package/src/config/aiModels/zeroone.ts +156 -0
  206. package/src/config/aiModels/zhipu.ts +235 -0
  207. package/src/config/featureFlags/schema.ts +3 -0
  208. package/src/config/modelProviders/anthropic.ts +1 -0
  209. package/src/config/modelProviders/github.ts +0 -1
  210. package/src/config/modelProviders/google.ts +1 -0
  211. package/src/config/modelProviders/stepfun.ts +2 -0
  212. package/src/database/migrations/0013_add_ai_infra.sql +44 -0
  213. package/src/database/migrations/meta/0013_snapshot.json +3598 -0
  214. package/src/database/migrations/meta/_journal.json +7 -0
  215. package/src/database/repositories/aiInfra/index.ts +115 -0
  216. package/src/database/schemas/aiInfra.ts +69 -0
  217. package/src/database/schemas/index.ts +1 -0
  218. package/src/database/server/models/__tests__/aiModel.test.ts +318 -0
  219. package/src/database/server/models/__tests__/aiProvider.test.ts +373 -0
  220. package/src/database/server/models/aiModel.ts +250 -0
  221. package/src/database/server/models/aiProvider.ts +234 -0
  222. package/src/features/AgentSetting/AgentPrompt/index.tsx +2 -2
  223. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +2 -1
  224. package/src/features/ChatInput/ActionBar/Tools/index.tsx +2 -3
  225. package/src/features/ChatInput/ActionBar/Upload/ServerMode.tsx +2 -3
  226. package/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx +3 -2
  227. package/src/features/ChatInput/Desktop/FilePreview/FileList.tsx +2 -2
  228. package/src/features/ChatInput/Mobile/Files/FileItem/File.tsx +2 -2
  229. package/src/features/ChatInput/Mobile/InputArea/index.tsx +1 -1
  230. package/src/features/ChatInput/STT/common.tsx +1 -1
  231. package/src/features/Conversation/Error/style.tsx +2 -2
  232. package/src/features/Conversation/Messages/Assistant/FileChunks/Item/style.ts +2 -2
  233. package/src/features/Conversation/Messages/Assistant/FileChunks/index.tsx +1 -1
  234. package/src/features/Conversation/Messages/Assistant/ToolCallItem/Inspector/style.ts +2 -3
  235. package/src/features/Conversation/Messages/Assistant/ToolCallItem/style.ts +2 -3
  236. package/src/features/Conversation/Messages/User/FileListViewer/Item.tsx +0 -1
  237. package/src/features/Conversation/components/BackBottom/style.ts +2 -2
  238. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/Icon.tsx +2 -3
  239. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/index.tsx +3 -3
  240. package/src/features/Conversation/components/MarkdownElements/LobeThinking/Render.tsx +1 -1
  241. package/src/features/Conversation/components/OTPInput.tsx +2 -2
  242. package/src/features/DataImporter/Loading.tsx +1 -1
  243. package/src/features/FileManager/FileList/EmptyStatus.tsx +1 -1
  244. package/src/features/FileManager/FileList/index.tsx +1 -1
  245. package/src/features/FileManager/UploadDock/Item.tsx +1 -1
  246. package/src/features/FileManager/UploadDock/index.tsx +4 -4
  247. package/src/features/FileViewer/NotSupport/index.tsx +1 -1
  248. package/src/features/FileViewer/Renderer/MSDoc/index.tsx +0 -1
  249. package/src/features/FileViewer/Renderer/TXT/index.tsx +1 -1
  250. package/src/features/InitClientDB/EnableModal.tsx +1 -1
  251. package/src/features/InitClientDB/ErrorResult.tsx +1 -1
  252. package/src/features/InitClientDB/InitIndicator.tsx +1 -1
  253. package/src/features/KnowledgeBaseModal/AddFilesToKnowledgeBase/SelectForm.tsx +0 -1
  254. package/src/features/ModelSwitchPanel/index.tsx +2 -2
  255. package/src/features/PluginsUI/Render/Loading.tsx +0 -1
  256. package/src/features/Portal/Home/Body/Files/FileList/Item.tsx +1 -1
  257. package/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/style.ts +1 -2
  258. package/src/features/Setting/SettingContainer.tsx +8 -1
  259. package/src/features/ShareModal/ShareImage/style.ts +2 -2
  260. package/src/features/ShareModal/style.ts +2 -2
  261. package/src/features/User/DataStatistics.tsx +1 -1
  262. package/src/hooks/useEnabledChatModels.ts +10 -1
  263. package/src/hooks/useModelSupportToolUse.ts +15 -0
  264. package/src/hooks/useModelSupportVision.ts +15 -0
  265. package/src/layout/AuthProvider/Clerk/useAppearance.ts +3 -3
  266. package/src/layout/GlobalProvider/AppTheme.tsx +1 -1
  267. package/src/layout/GlobalProvider/StoreInitialization.tsx +5 -0
  268. package/src/locales/default/common.ts +1 -0
  269. package/src/locales/default/modelProvider.ts +178 -0
  270. package/src/locales/default/setting.ts +1 -0
  271. package/src/server/modules/KeyVaultsEncrypt/index.ts +1 -1
  272. package/src/server/routers/lambda/aiModel.ts +128 -0
  273. package/src/server/routers/lambda/aiProvider.ts +127 -0
  274. package/src/server/routers/lambda/index.ts +4 -0
  275. package/src/services/__tests__/_auth.test.ts +16 -49
  276. package/src/services/__tests__/chat.test.ts +2 -0
  277. package/src/services/_auth.ts +42 -25
  278. package/src/services/aiModel.ts +52 -0
  279. package/src/services/aiProvider.ts +47 -0
  280. package/src/services/chat.ts +62 -18
  281. package/src/store/aiInfra/index.ts +2 -0
  282. package/src/store/aiInfra/initialState.ts +11 -0
  283. package/src/store/aiInfra/selectors.ts +2 -0
  284. package/src/store/aiInfra/slices/aiModel/action.ts +146 -0
  285. package/src/store/aiInfra/slices/aiModel/index.ts +3 -0
  286. package/src/store/aiInfra/slices/aiModel/initialState.ts +14 -0
  287. package/src/store/aiInfra/slices/aiModel/selectors.ts +63 -0
  288. package/src/store/aiInfra/slices/aiProvider/action.ts +208 -0
  289. package/src/store/aiInfra/slices/aiProvider/index.ts +3 -0
  290. package/src/store/aiInfra/slices/aiProvider/initialState.ts +32 -0
  291. package/src/store/aiInfra/slices/aiProvider/selectors.ts +99 -0
  292. package/src/store/aiInfra/store.ts +25 -0
  293. package/src/store/global/initialState.ts +1 -0
  294. package/src/store/serverConfig/selectors.test.ts +1 -0
  295. package/src/styles/global.ts +1 -1
  296. package/src/types/aiModel.ts +32 -6
  297. package/src/types/aiProvider.ts +11 -4
  298. package/src/utils/fetch/fetchSSE.ts +3 -1
@@ -63,6 +63,44 @@
63
63
  "title": "Cloudflare Hesap ID / API Adresi"
64
64
  }
65
65
  },
66
+ "createNewAiProvider": {
67
+ "apiKey": {
68
+ "placeholder": "Lütfen API Anahtarınızı girin",
69
+ "required": "Lütfen API Anahtarınızı girin",
70
+ "title": "API Anahtarı"
71
+ },
72
+ "basicTitle": "Temel Bilgiler",
73
+ "configTitle": "Yapılandırma Bilgileri",
74
+ "confirm": "Yeni Oluştur",
75
+ "createSuccess": "Başarıyla oluşturuldu",
76
+ "description": {
77
+ "placeholder": "Hizmet sağlayıcı tanımı (isteğe bağlı)",
78
+ "title": "Hizmet Sağlayıcı Tanımı"
79
+ },
80
+ "id": {
81
+ "placeholder": "Küçük harflerle yazılması önerilir, örneğin openai, oluşturduktan sonra değiştirilemez",
82
+ "required": "Lütfen hizmet sağlayıcı ID'sini girin",
83
+ "title": "Hizmet Sağlayıcı ID"
84
+ },
85
+ "logo": {
86
+ "required": "Lütfen geçerli bir hizmet sağlayıcı logosu yükleyin",
87
+ "title": "Hizmet Sağlayıcı Logosu"
88
+ },
89
+ "name": {
90
+ "placeholder": "Lütfen hizmet sağlayıcının gösterim adını girin",
91
+ "required": "Lütfen hizmet sağlayıcı adını girin",
92
+ "title": "Hizmet Sağlayıcı Adı"
93
+ },
94
+ "proxyUrl": {
95
+ "placeholder": "Lütfen istek adresinizi girin, boş bırakılırsa SDK'nın ilgili istek adresi kullanılacaktır",
96
+ "title": "Proxy Adresi"
97
+ },
98
+ "sdkType": {
99
+ "required": "Lütfen SDK türünü seçin",
100
+ "title": "İstek Formatı"
101
+ },
102
+ "title": "Özel AI Hizmet Sağlayıcısı Oluştur"
103
+ },
66
104
  "github": {
67
105
  "personalAccessToken": {
68
106
  "desc": "Github PAT'nizi girin, [buraya](https://github.com/settings/tokens) tıklayarak oluşturun",
@@ -77,6 +115,23 @@
77
115
  "title": "HuggingFace Token"
78
116
  }
79
117
  },
118
+ "list": {
119
+ "title": {
120
+ "disabled": "Hizmet sağlayıcı devre dışı",
121
+ "enabled": "Hizmet sağlayıcı etkin"
122
+ }
123
+ },
124
+ "menu": {
125
+ "addCustomProvider": "Özel Hizmet Sağlayıcı Ekle",
126
+ "all": "Tümü",
127
+ "list": {
128
+ "disabled": "Devre Dışı",
129
+ "enabled": "Aktif"
130
+ },
131
+ "notFound": "Arama sonuçları bulunamadı",
132
+ "searchProviders": "Hizmet sağlayıcıları ara...",
133
+ "sort": "Özel Sıralama"
134
+ },
80
135
  "ollama": {
81
136
  "checker": {
82
137
  "desc": "Proxy adresinin doğru girilip girilmediğini test edin",
@@ -131,6 +186,127 @@
131
186
  "title": "下载指定的 Ollama 模型"
132
187
  }
133
188
  },
189
+ "providerModels": {
190
+ "config": {
191
+ "aesGcm": "Anahtarınız ve proxy adresi gibi bilgiler <1>AES-GCM</1> şifreleme algoritması ile şifrelenecektir",
192
+ "apiKey": {
193
+ "desc": "{{name}} API Anahtarınızı girin",
194
+ "placeholder": "{{name}} API Anahtarı",
195
+ "title": "API Anahtarı"
196
+ },
197
+ "baseURL": {
198
+ "desc": "http(s):// içermelidir",
199
+ "placeholder": "https://your-proxy-url.com/v1",
200
+ "title": "API Proxy Adresi"
201
+ },
202
+ "checker": {
203
+ "button": "Kontrol Et",
204
+ "desc": "API Anahtarı ve proxy adresinin doğru girilip girilmediğini test edin",
205
+ "pass": "Kontrol başarılı",
206
+ "title": "Bağlantı Kontrolü"
207
+ },
208
+ "fetchOnClient": {
209
+ "desc": "İstemci istek modu, tarayıcıdan doğrudan oturum isteği başlatır, yanıt hızını artırabilir",
210
+ "title": "İstemci İstek Modunu Kullan"
211
+ },
212
+ "helpDoc": "Yapılandırma Kılavuzu",
213
+ "waitingForMore": "Daha fazla model <1>planlanıyor</1>, lütfen bekleyin"
214
+ },
215
+ "createNew": {
216
+ "title": "Özel AI Modeli Oluştur"
217
+ },
218
+ "item": {
219
+ "config": "Modeli Yapılandır",
220
+ "customModelCards": {
221
+ "addNew": "{{id}} modelini oluştur ve ekle",
222
+ "confirmDelete": "Bu özel modeli silmek üzeresiniz, silindikten sonra geri alınamaz, lütfen dikkatli olun."
223
+ },
224
+ "delete": {
225
+ "confirm": "{{displayName}} modelini silmek istediğinize emin misiniz?",
226
+ "success": "Silme işlemi başarılı",
227
+ "title": "Modeli Sil"
228
+ },
229
+ "modelConfig": {
230
+ "azureDeployName": {
231
+ "extra": "Azure OpenAI'de gerçek istek için alan",
232
+ "placeholder": "Lütfen Azure'daki model dağıtım adını girin",
233
+ "title": "Model Dağıtım Adı"
234
+ },
235
+ "displayName": {
236
+ "placeholder": "Lütfen modelin gösterim adını girin, örneğin ChatGPT, GPT-4 vb.",
237
+ "title": "Model Gösterim Adı"
238
+ },
239
+ "files": {
240
+ "extra": "Mevcut dosya yükleme uygulaması yalnızca bir Hack çözümüdür, yalnızca denemek için geçerlidir. Tam dosya yükleme yeteneği için lütfen sonraki uygulamayı bekleyin.",
241
+ "title": "Dosya Yüklemeyi Destekle"
242
+ },
243
+ "functionCall": {
244
+ "extra": "Bu yapılandırma yalnızca uygulamadaki fonksiyon çağırma yeteneğini açacaktır, fonksiyon çağırma desteği tamamen modele bağlıdır, lütfen bu modelin fonksiyon çağırma yeteneğini test edin.",
245
+ "title": "Fonksiyon Çağırmayı Destekle"
246
+ },
247
+ "id": {
248
+ "extra": "Model etiketi olarak gösterilecektir",
249
+ "placeholder": "Lütfen model id'sini girin, örneğin gpt-4-turbo-preview veya claude-2.1",
250
+ "title": "Model ID"
251
+ },
252
+ "modalTitle": "Özel Model Yapılandırması",
253
+ "tokens": {
254
+ "title": "Maksimum token sayısı",
255
+ "unlimited": "Sınırsız"
256
+ },
257
+ "vision": {
258
+ "extra": "Bu yapılandırma yalnızca uygulamadaki resim yükleme yapılandırmasını açacaktır, tanıma desteği tamamen modele bağlıdır, lütfen bu modelin görsel tanıma yeteneğini test edin.",
259
+ "title": "Görsel Tanımayı Destekle"
260
+ }
261
+ },
262
+ "pricing": {
263
+ "image": "${{amount}}/Resim",
264
+ "inputCharts": "${{amount}}/M Karakter",
265
+ "inputMinutes": "${{amount}}/Dakika",
266
+ "inputTokens": "Girdi ${{amount}}/M",
267
+ "outputTokens": "Çıktı ${{amount}}/M"
268
+ },
269
+ "releasedAt": "Yayınlanma tarihi: {{releasedAt}}"
270
+ },
271
+ "list": {
272
+ "addNew": "Model Ekle",
273
+ "disabled": "Devre dışı",
274
+ "empty": {
275
+ "desc": "Lütfen özel bir model oluşturun veya kullanmaya başlamadan önce bir model çekin",
276
+ "title": "Kullanılabilir model yok"
277
+ },
278
+ "enabled": "Etkin",
279
+ "enabledActions": {
280
+ "disableAll": "Hepsini devre dışı bırak",
281
+ "enableAll": "Hepsini etkinleştir",
282
+ "sort": "Özel model sıralaması"
283
+ },
284
+ "enabledEmpty": "Etkin model yok, lütfen aşağıdaki listeden beğendiğiniz modeli etkinleştirin~",
285
+ "fetcher": {
286
+ "clear": "Alınan modelleri temizle",
287
+ "fetch": "Model listesini al",
288
+ "fetching": "Model listesi alınıyor...",
289
+ "latestTime": "Son güncelleme zamanı: {{time}}",
290
+ "noLatestTime": "Henüz liste alınmadı"
291
+ },
292
+ "search": "Model ara...",
293
+ "searchResult": "{{count}} model bulundu",
294
+ "title": "Model Listesi",
295
+ "total": "Toplam {{count}} adet model mevcut"
296
+ },
297
+ "searchNotFound": "Arama sonuçları bulunamadı"
298
+ },
299
+ "sortModal": {
300
+ "success": "Sıralama güncellemesi başarılı",
301
+ "title": "Özel Sıralama",
302
+ "update": "Güncelle"
303
+ },
304
+ "updateAiProvider": {
305
+ "confirmDelete": "Bu AI hizmet sağlayıcısını silmek üzeresiniz, silindikten sonra geri alınamaz, silmek istediğinize emin misiniz?",
306
+ "deleteSuccess": "Silme işlemi başarılı",
307
+ "tooltip": "Hizmet sağlayıcının temel yapılandırmasını güncelle",
308
+ "updateSuccess": "Güncelleme başarılı"
309
+ },
134
310
  "wenxin": {
135
311
  "accessKey": {
136
312
  "desc": "Baidu Qianfan platform için Access Key girin",
@@ -411,6 +411,7 @@
411
411
  "common": "Genel Ayarlar",
412
412
  "experiment": "Deney",
413
413
  "llm": "Modeller",
414
+ "provider": "Yapay Zeka Hizmet Sağlayıcısı",
414
415
  "sync": "Bulut Senkronizasyonu",
415
416
  "system-agent": "Sistem Asistanı",
416
417
  "tts": "Metin Seslendirme"
@@ -275,6 +275,7 @@
275
275
  },
276
276
  "temp": "Tạm thời",
277
277
  "terms": "Điều khoản dịch vụ",
278
+ "update": "Cập nhật",
278
279
  "updateAgent": "Cập nhật thông tin trợ lý",
279
280
  "upgradeVersion": {
280
281
  "action": "Nâng cấp",
@@ -63,6 +63,44 @@
63
63
  "title": "ID tài khoản Cloudflare / địa chỉ API"
64
64
  }
65
65
  },
66
+ "createNewAiProvider": {
67
+ "apiKey": {
68
+ "placeholder": "Vui lòng nhập API Key của bạn",
69
+ "required": "Vui lòng nhập API Key của bạn",
70
+ "title": "API Key"
71
+ },
72
+ "basicTitle": "Thông tin cơ bản",
73
+ "configTitle": "Thông tin cấu hình",
74
+ "confirm": "Tạo mới",
75
+ "createSuccess": "Tạo mới thành công",
76
+ "description": {
77
+ "placeholder": "Giới thiệu về nhà cung cấp (tùy chọn)",
78
+ "title": "Giới thiệu về nhà cung cấp"
79
+ },
80
+ "id": {
81
+ "placeholder": "Nên viết toàn bộ bằng chữ thường, ví dụ openai, không thể sửa sau khi tạo",
82
+ "required": "Vui lòng nhập ID nhà cung cấp",
83
+ "title": "ID nhà cung cấp"
84
+ },
85
+ "logo": {
86
+ "required": "Vui lòng tải lên Logo nhà cung cấp hợp lệ",
87
+ "title": "Logo nhà cung cấp"
88
+ },
89
+ "name": {
90
+ "placeholder": "Vui lòng nhập tên hiển thị của nhà cung cấp",
91
+ "required": "Vui lòng nhập tên nhà cung cấp",
92
+ "title": "Tên nhà cung cấp"
93
+ },
94
+ "proxyUrl": {
95
+ "placeholder": "Vui lòng nhập địa chỉ yêu cầu của bạn, nếu không sẽ sử dụng địa chỉ yêu cầu tương ứng của SDK",
96
+ "title": "Địa chỉ proxy"
97
+ },
98
+ "sdkType": {
99
+ "required": "Vui lòng chọn loại SDK",
100
+ "title": "Định dạng yêu cầu"
101
+ },
102
+ "title": "Tạo nhà cung cấp AI tùy chỉnh"
103
+ },
66
104
  "github": {
67
105
  "personalAccessToken": {
68
106
  "desc": "Nhập mã truy cập cá nhân Github của bạn, nhấp vào [đây](https://github.com/settings/tokens) để tạo",
@@ -77,6 +115,23 @@
77
115
  "title": "Mã thông báo HuggingFace"
78
116
  }
79
117
  },
118
+ "list": {
119
+ "title": {
120
+ "disabled": "Nhà cung cấp chưa được kích hoạt",
121
+ "enabled": "Nhà cung cấp đã được kích hoạt"
122
+ }
123
+ },
124
+ "menu": {
125
+ "addCustomProvider": "Thêm nhà cung cấp tùy chỉnh",
126
+ "all": "Tất cả",
127
+ "list": {
128
+ "disabled": "Chưa kích hoạt",
129
+ "enabled": "Đã kích hoạt"
130
+ },
131
+ "notFound": "Không tìm thấy kết quả tìm kiếm",
132
+ "searchProviders": "Tìm kiếm nhà cung cấp...",
133
+ "sort": "Sắp xếp tùy chỉnh"
134
+ },
80
135
  "ollama": {
81
136
  "checker": {
82
137
  "desc": "Kiểm tra địa chỉ proxy có được nhập chính xác không",
@@ -131,6 +186,127 @@
131
186
  "title": "Tải xuống mô hình Ollama đã chỉ định"
132
187
  }
133
188
  },
189
+ "providerModels": {
190
+ "config": {
191
+ "aesGcm": "Khóa của bạn và địa chỉ proxy sẽ được mã hóa bằng thuật toán <1>AES-GCM</1>",
192
+ "apiKey": {
193
+ "desc": "Vui lòng nhập {{name}} API Key của bạn",
194
+ "placeholder": "{{name}} API Key",
195
+ "title": "API Key"
196
+ },
197
+ "baseURL": {
198
+ "desc": "Phải bao gồm http(s)://",
199
+ "placeholder": "https://your-proxy-url.com/v1",
200
+ "title": "Địa chỉ proxy API"
201
+ },
202
+ "checker": {
203
+ "button": "Kiểm tra",
204
+ "desc": "Kiểm tra xem API Key và địa chỉ proxy có được nhập đúng không",
205
+ "pass": "Kiểm tra thành công",
206
+ "title": "Kiểm tra kết nối"
207
+ },
208
+ "fetchOnClient": {
209
+ "desc": "Chế độ yêu cầu từ khách hàng sẽ phát động yêu cầu phiên trực tiếp từ trình duyệt, có thể cải thiện tốc độ phản hồi",
210
+ "title": "Sử dụng chế độ yêu cầu từ khách hàng"
211
+ },
212
+ "helpDoc": "Hướng dẫn cấu hình",
213
+ "waitingForMore": "Nhiều mô hình hơn đang <1>được lên kế hoạch</1>, xin hãy chờ đợi"
214
+ },
215
+ "createNew": {
216
+ "title": "Tạo mô hình AI tùy chỉnh"
217
+ },
218
+ "item": {
219
+ "config": "Cấu hình mô hình",
220
+ "customModelCards": {
221
+ "addNew": "Tạo và thêm mô hình {{id}}",
222
+ "confirmDelete": "Sắp xóa mô hình tùy chỉnh này, sau khi xóa sẽ không thể khôi phục, xin hãy cẩn thận."
223
+ },
224
+ "delete": {
225
+ "confirm": "Xác nhận xóa mô hình {{displayName}}?",
226
+ "success": "Xóa thành công",
227
+ "title": "Xóa mô hình"
228
+ },
229
+ "modelConfig": {
230
+ "azureDeployName": {
231
+ "extra": "Trường thực tế được yêu cầu trong Azure OpenAI",
232
+ "placeholder": "Vui lòng nhập tên triển khai mô hình trong Azure",
233
+ "title": "Tên triển khai mô hình"
234
+ },
235
+ "displayName": {
236
+ "placeholder": "Vui lòng nhập tên hiển thị của mô hình, ví dụ ChatGPT, GPT-4, v.v.",
237
+ "title": "Tên hiển thị mô hình"
238
+ },
239
+ "files": {
240
+ "extra": "Hiện tại, việc tải lên tệp chỉ là một giải pháp Hack, chỉ dành cho thử nghiệm cá nhân. Vui lòng chờ đợi khả năng tải lên tệp hoàn chỉnh trong các bản cập nhật sau.",
241
+ "title": "Hỗ trợ tải lên tệp"
242
+ },
243
+ "functionCall": {
244
+ "extra": "Cấu hình này chỉ mở khả năng gọi hàm trong ứng dụng, việc hỗ trợ gọi hàm hoàn toàn phụ thuộc vào mô hình, xin hãy tự kiểm tra khả năng gọi hàm của mô hình này.",
245
+ "title": "Hỗ trợ gọi hàm"
246
+ },
247
+ "id": {
248
+ "extra": "Sẽ được hiển thị như một nhãn mô hình",
249
+ "placeholder": "Vui lòng nhập id mô hình, ví dụ gpt-4-turbo-preview hoặc claude-2.1",
250
+ "title": "ID mô hình"
251
+ },
252
+ "modalTitle": "Cấu hình mô hình tùy chỉnh",
253
+ "tokens": {
254
+ "title": "Số lượng token tối đa",
255
+ "unlimited": "Không giới hạn"
256
+ },
257
+ "vision": {
258
+ "extra": "Cấu hình này chỉ mở khả năng tải lên hình ảnh trong ứng dụng, việc hỗ trợ nhận diện hoàn toàn phụ thuộc vào mô hình, xin hãy tự kiểm tra khả năng nhận diện hình ảnh của mô hình này.",
259
+ "title": "Hỗ trợ nhận diện hình ảnh"
260
+ }
261
+ },
262
+ "pricing": {
263
+ "image": "${{amount}}/Hình ảnh",
264
+ "inputCharts": "${{amount}}/Ký tự M",
265
+ "inputMinutes": "${{amount}}/Phút",
266
+ "inputTokens": "Nhập ${{amount}}/M",
267
+ "outputTokens": "Xuất ${{amount}}/M"
268
+ },
269
+ "releasedAt": "Phát hành vào {{releasedAt}}"
270
+ },
271
+ "list": {
272
+ "addNew": "Thêm mô hình",
273
+ "disabled": "Chưa được kích hoạt",
274
+ "empty": {
275
+ "desc": "Vui lòng tạo mô hình tùy chỉnh hoặc kéo mô hình để bắt đầu sử dụng",
276
+ "title": "Chưa có mô hình nào khả dụng"
277
+ },
278
+ "enabled": "Đã được kích hoạt",
279
+ "enabledActions": {
280
+ "disableAll": "Vô hiệu hóa tất cả",
281
+ "enableAll": "Kích hoạt tất cả",
282
+ "sort": "Sắp xếp mô hình tùy chỉnh"
283
+ },
284
+ "enabledEmpty": "Chưa có mô hình nào được kích hoạt, hãy kích hoạt mô hình bạn yêu thích từ danh sách bên dưới nhé~",
285
+ "fetcher": {
286
+ "clear": "Xóa mô hình đã lấy",
287
+ "fetch": "Lấy danh sách mô hình",
288
+ "fetching": "Đang lấy danh sách mô hình...",
289
+ "latestTime": "Thời gian cập nhật lần cuối: {{time}}",
290
+ "noLatestTime": "Chưa lấy danh sách"
291
+ },
292
+ "search": "Tìm kiếm mô hình...",
293
+ "searchResult": "Tìm thấy {{count}} mô hình",
294
+ "title": "Danh sách mô hình",
295
+ "total": "Có tổng cộng {{count}} mô hình khả dụng"
296
+ },
297
+ "searchNotFound": "Không tìm thấy kết quả tìm kiếm"
298
+ },
299
+ "sortModal": {
300
+ "success": "Cập nhật sắp xếp thành công",
301
+ "title": "Sắp xếp tùy chỉnh",
302
+ "update": "Cập nhật"
303
+ },
304
+ "updateAiProvider": {
305
+ "confirmDelete": "Sắp xóa nhà cung cấp AI này, sau khi xóa sẽ không thể khôi phục, xác nhận có xóa không?",
306
+ "deleteSuccess": "Xóa thành công",
307
+ "tooltip": "Cập nhật cấu hình cơ bản của nhà cung cấp",
308
+ "updateSuccess": "Cập nhật thành công"
309
+ },
134
310
  "wenxin": {
135
311
  "accessKey": {
136
312
  "desc": "Nhập Access Key từ nền tảng Qianfan của Baidu",
@@ -411,6 +411,7 @@
411
411
  "common": "Cài đặt chung",
412
412
  "experiment": "Thử nghiệm",
413
413
  "llm": "Mô hình ngôn ngữ",
414
+ "provider": "Nhà cung cấp AI",
414
415
  "sync": "Đồng bộ trên đám mây",
415
416
  "system-agent": "Trợ lý hệ thống",
416
417
  "tts": "Dịch vụ giọng nói"
@@ -275,6 +275,7 @@
275
275
  },
276
276
  "temp": "临时",
277
277
  "terms": "服务条款",
278
+ "update": "更新",
278
279
  "updateAgent": "更新助理信息",
279
280
  "upgradeVersion": {
280
281
  "action": "升级",
@@ -63,6 +63,44 @@
63
63
  "title": "Cloudflare 账户 ID / API 地址"
64
64
  }
65
65
  },
66
+ "createNewAiProvider": {
67
+ "apiKey": {
68
+ "placeholder": "请填写你的 API Key",
69
+ "required": "请填写你的 API Key",
70
+ "title": "API Key"
71
+ },
72
+ "basicTitle": "基本信息",
73
+ "configTitle": "配置信息",
74
+ "confirm": "新建",
75
+ "createSuccess": "新建成功",
76
+ "description": {
77
+ "placeholder": "服务商简介(选填)",
78
+ "title": "服务商简介"
79
+ },
80
+ "id": {
81
+ "placeholder": "建议全小写,例如 openai,创建后将不可修改",
82
+ "required": "请填写服务商 ID",
83
+ "title": "服务商 ID"
84
+ },
85
+ "logo": {
86
+ "required": "请上传正确的服务商 Logo",
87
+ "title": "服务商 Logo"
88
+ },
89
+ "name": {
90
+ "placeholder": "请输入服务商的展示名称",
91
+ "required": "请填写服务商名称",
92
+ "title": "服务商名称"
93
+ },
94
+ "proxyUrl": {
95
+ "placeholder": "请填写你的请求地址,如果不填则会使用 SDK 对应的请求地址",
96
+ "title": "代理地址"
97
+ },
98
+ "sdkType": {
99
+ "required": "请选择 SDK 类型",
100
+ "title": "请求格式"
101
+ },
102
+ "title": "创建自定义 AI 服务商"
103
+ },
66
104
  "github": {
67
105
  "personalAccessToken": {
68
106
  "desc": "填入你的 Github PAT,点击 [这里](https://github.com/settings/tokens) 创建",
@@ -77,6 +115,23 @@
77
115
  "title": "HuggingFace Token"
78
116
  }
79
117
  },
118
+ "list": {
119
+ "title": {
120
+ "disabled": "未启用服务商",
121
+ "enabled": "已启用服务商"
122
+ }
123
+ },
124
+ "menu": {
125
+ "addCustomProvider": "添加自定义服务商",
126
+ "all": "全部",
127
+ "list": {
128
+ "disabled": "未启用",
129
+ "enabled": "已启用"
130
+ },
131
+ "notFound": "未找到搜索结果",
132
+ "searchProviders": "搜索服务商...",
133
+ "sort": "自定义排序"
134
+ },
80
135
  "ollama": {
81
136
  "checker": {
82
137
  "desc": "测试代理地址是否正确填写",
@@ -131,6 +186,127 @@
131
186
  "title": "下载指定的 Ollama 模型"
132
187
  }
133
188
  },
189
+ "providerModels": {
190
+ "config": {
191
+ "aesGcm": "您的秘钥与代理地址等将使用 <1>AES-GCM</1> 加密算法进行加密",
192
+ "apiKey": {
193
+ "desc": "请填写你的 {{name}} API Key",
194
+ "placeholder": "{{name}} API Key",
195
+ "title": "API Key"
196
+ },
197
+ "baseURL": {
198
+ "desc": "必须包含 http(s)://",
199
+ "placeholder": "https://your-proxy-url.com/v1",
200
+ "title": "API 代理地址"
201
+ },
202
+ "checker": {
203
+ "button": "检查",
204
+ "desc": "测试 Api Key 与代理地址是否正确填写",
205
+ "pass": "检查通过",
206
+ "title": "连通性检查"
207
+ },
208
+ "fetchOnClient": {
209
+ "desc": "客户端请求模式将从浏览器直接发起会话请求,可提升响应速度",
210
+ "title": "使用客户端请求模式"
211
+ },
212
+ "helpDoc": "配置教程",
213
+ "waitingForMore": "更多模型正在 <1>计划接入</1> 中,敬请期待"
214
+ },
215
+ "createNew": {
216
+ "title": "创建自定义 AI 模型"
217
+ },
218
+ "item": {
219
+ "config": "配置模型",
220
+ "customModelCards": {
221
+ "addNew": "创建并添加 {{id}} 模型",
222
+ "confirmDelete": "即将删除该自定义模型,删除后将不可恢复,请谨慎操作。"
223
+ },
224
+ "delete": {
225
+ "confirm": "确认删除模型 {{displayName}}?",
226
+ "success": "删除成功",
227
+ "title": "删除模型"
228
+ },
229
+ "modelConfig": {
230
+ "azureDeployName": {
231
+ "extra": "在 Azure OpenAI 中实际请求的字段",
232
+ "placeholder": "请输入 Azure 中的模型部署名称",
233
+ "title": "模型部署名称"
234
+ },
235
+ "displayName": {
236
+ "placeholder": "请输入模型的展示名称,例如 ChatGPT、GPT-4 等",
237
+ "title": "模型展示名称"
238
+ },
239
+ "files": {
240
+ "extra": "当前文件上传实现仅为一种 Hack 方案,仅限自行尝试。完整文件上传能力请等待后续实现",
241
+ "title": "支持文件上传"
242
+ },
243
+ "functionCall": {
244
+ "extra": "此配置将仅开启应用中的函数调用能力,是否支持函数调用完全取决于模型本身,请自行测试该模型的函数调用能力可用性",
245
+ "title": "支持函数调用"
246
+ },
247
+ "id": {
248
+ "extra": "将作为模型标签进行展示",
249
+ "placeholder": "请输入模型id,例如 gpt-4-turbo-preview 或 claude-2.1",
250
+ "title": "模型 ID"
251
+ },
252
+ "modalTitle": "自定义模型配置",
253
+ "tokens": {
254
+ "title": "最大 token 数",
255
+ "unlimited": "无限制"
256
+ },
257
+ "vision": {
258
+ "extra": "此配置将仅开启应用中的图片上传配置,是否支持识别完全取决于模型本身,请自行测试该模型的视觉识别能力可用性",
259
+ "title": "支持视觉识别"
260
+ }
261
+ },
262
+ "pricing": {
263
+ "image": "${{amount}}/图片",
264
+ "inputCharts": "${{amount}}/M 字符",
265
+ "inputMinutes": "${{amount}}/分钟",
266
+ "inputTokens": "输入 ${{amount}}/M",
267
+ "outputTokens": "输出 ${{amount}}/M"
268
+ },
269
+ "releasedAt": "发布于{{releasedAt}}"
270
+ },
271
+ "list": {
272
+ "addNew": "添加模型",
273
+ "disabled": "未启用",
274
+ "empty": {
275
+ "desc": "请创建自定义模型或拉取模型后开始使用吧",
276
+ "title": "暂无可用模型"
277
+ },
278
+ "enabled": "已启用",
279
+ "enabledActions": {
280
+ "disableAll": "全部禁用",
281
+ "enableAll": "全部启用",
282
+ "sort": "自定义模型排序"
283
+ },
284
+ "enabledEmpty": "暂无启用模型,请从下方列表中启用心仪的模型吧~",
285
+ "fetcher": {
286
+ "clear": "清除获取的模型",
287
+ "fetch": "获取模型列表",
288
+ "fetching": "正在获取模型列表...",
289
+ "latestTime": "上次更新时间:{{time}}",
290
+ "noLatestTime": "暂未获取列表"
291
+ },
292
+ "search": "搜索模型...",
293
+ "searchResult": "搜索到 {{count}} 个模型",
294
+ "title": "模型列表",
295
+ "total": "共 {{count}} 个模型可用"
296
+ },
297
+ "searchNotFound": "未找到搜索结果"
298
+ },
299
+ "sortModal": {
300
+ "success": "排序更新成功",
301
+ "title": "自定义排序",
302
+ "update": "更新"
303
+ },
304
+ "updateAiProvider": {
305
+ "confirmDelete": "即将删除该 AI 服务商,删除后将无法找回,确认是否删除?",
306
+ "deleteSuccess": "删除成功",
307
+ "tooltip": "更新服务商基础配置",
308
+ "updateSuccess": "更新成功"
309
+ },
134
310
  "wenxin": {
135
311
  "accessKey": {
136
312
  "desc": "填入百度千帆平台的 Access Key",
@@ -411,6 +411,7 @@
411
411
  "common": "通用设置",
412
412
  "experiment": "实验",
413
413
  "llm": "语言模型",
414
+ "provider": "AI 服务商",
414
415
  "sync": "云端同步",
415
416
  "system-agent": "系统助手",
416
417
  "tts": "语音服务"
@@ -275,6 +275,7 @@
275
275
  },
276
276
  "temp": "臨時",
277
277
  "terms": "服務條款",
278
+ "update": "更新",
278
279
  "updateAgent": "更新助理資訊",
279
280
  "upgradeVersion": {
280
281
  "action": "升級",