@lobehub/chat 1.18.1 → 1.19.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.

Potentially problematic release.


This version of @lobehub/chat might be problematic. Click here for more details.

Files changed (181) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/Dockerfile +2 -0
  3. package/Dockerfile.database +2 -0
  4. package/locales/ar/chat.json +6 -0
  5. package/locales/ar/error.json +1 -0
  6. package/locales/ar/modelProvider.json +7 -0
  7. package/locales/ar/portal.json +16 -0
  8. package/locales/bg-BG/chat.json +6 -0
  9. package/locales/bg-BG/error.json +1 -0
  10. package/locales/bg-BG/modelProvider.json +7 -0
  11. package/locales/bg-BG/portal.json +16 -0
  12. package/locales/de-DE/chat.json +6 -0
  13. package/locales/de-DE/error.json +1 -0
  14. package/locales/de-DE/modelProvider.json +7 -0
  15. package/locales/de-DE/portal.json +16 -0
  16. package/locales/en-US/chat.json +6 -0
  17. package/locales/en-US/error.json +1 -0
  18. package/locales/en-US/modelProvider.json +7 -0
  19. package/locales/en-US/portal.json +16 -0
  20. package/locales/es-ES/chat.json +6 -0
  21. package/locales/es-ES/error.json +1 -0
  22. package/locales/es-ES/modelProvider.json +7 -0
  23. package/locales/es-ES/portal.json +16 -0
  24. package/locales/fr-FR/chat.json +6 -0
  25. package/locales/fr-FR/error.json +1 -0
  26. package/locales/fr-FR/modelProvider.json +7 -0
  27. package/locales/fr-FR/portal.json +16 -0
  28. package/locales/it-IT/chat.json +6 -0
  29. package/locales/it-IT/error.json +1 -0
  30. package/locales/it-IT/modelProvider.json +7 -0
  31. package/locales/it-IT/portal.json +16 -0
  32. package/locales/ja-JP/chat.json +6 -0
  33. package/locales/ja-JP/error.json +1 -0
  34. package/locales/ja-JP/modelProvider.json +7 -0
  35. package/locales/ja-JP/portal.json +16 -0
  36. package/locales/ko-KR/chat.json +6 -0
  37. package/locales/ko-KR/error.json +1 -0
  38. package/locales/ko-KR/modelProvider.json +7 -0
  39. package/locales/ko-KR/portal.json +16 -0
  40. package/locales/nl-NL/chat.json +6 -0
  41. package/locales/nl-NL/error.json +1 -0
  42. package/locales/nl-NL/modelProvider.json +7 -0
  43. package/locales/nl-NL/portal.json +16 -0
  44. package/locales/pl-PL/chat.json +6 -0
  45. package/locales/pl-PL/error.json +1 -0
  46. package/locales/pl-PL/modelProvider.json +7 -0
  47. package/locales/pl-PL/portal.json +16 -0
  48. package/locales/pt-BR/chat.json +6 -0
  49. package/locales/pt-BR/error.json +1 -0
  50. package/locales/pt-BR/modelProvider.json +7 -0
  51. package/locales/pt-BR/portal.json +16 -0
  52. package/locales/ru-RU/chat.json +6 -0
  53. package/locales/ru-RU/error.json +1 -0
  54. package/locales/ru-RU/modelProvider.json +7 -0
  55. package/locales/ru-RU/portal.json +16 -0
  56. package/locales/tr-TR/chat.json +6 -0
  57. package/locales/tr-TR/error.json +1 -0
  58. package/locales/tr-TR/modelProvider.json +7 -0
  59. package/locales/tr-TR/portal.json +16 -0
  60. package/locales/vi-VN/chat.json +6 -0
  61. package/locales/vi-VN/error.json +1 -0
  62. package/locales/vi-VN/modelProvider.json +7 -0
  63. package/locales/vi-VN/portal.json +16 -0
  64. package/locales/zh-CN/chat.json +6 -0
  65. package/locales/zh-CN/error.json +2 -1
  66. package/locales/zh-CN/modelProvider.json +7 -0
  67. package/locales/zh-CN/portal.json +17 -1
  68. package/locales/zh-TW/chat.json +6 -0
  69. package/locales/zh-TW/error.json +1 -0
  70. package/locales/zh-TW/modelProvider.json +7 -0
  71. package/locales/zh-TW/portal.json +16 -0
  72. package/package.json +4 -1
  73. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/Renderer/HTML.tsx +25 -0
  74. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/Renderer/React.tsx +30 -0
  75. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/Renderer/SVG.tsx +114 -0
  76. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/Renderer/index.tsx +25 -0
  77. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/index.tsx +79 -0
  78. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/Header.tsx +69 -0
  79. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/index.ts +10 -0
  80. package/src/app/(main)/chat/(workspace)/@portal/Artifacts/useEnable.ts +4 -0
  81. package/src/app/(main)/chat/(workspace)/@portal/FilePreview/index.ts +2 -1
  82. package/src/app/(main)/chat/(workspace)/@portal/Home/Body/{Artifacts → Plugins}/index.tsx +1 -1
  83. package/src/app/(main)/chat/(workspace)/@portal/Home/Body/index.tsx +2 -2
  84. package/src/app/(main)/chat/(workspace)/@portal/MessageDetail/index.ts +2 -1
  85. package/src/app/(main)/chat/(workspace)/@portal/Plugins/Body/ToolRender.tsx +1 -1
  86. package/src/app/(main)/chat/(workspace)/@portal/Plugins/Body/index.tsx +1 -1
  87. package/src/app/(main)/chat/(workspace)/@portal/Plugins/Footer.tsx +1 -1
  88. package/src/app/(main)/chat/(workspace)/@portal/Plugins/index.ts +2 -1
  89. package/src/app/(main)/chat/(workspace)/@portal/Plugins/useEnable.ts +1 -1
  90. package/src/app/(main)/chat/(workspace)/@portal/_layout/Desktop.tsx +2 -4
  91. package/src/app/(main)/chat/(workspace)/@portal/features/Body.tsx +27 -0
  92. package/src/app/(main)/chat/(workspace)/@portal/router.tsx +3 -1
  93. package/src/app/(main)/chat/(workspace)/@portal/type.ts +7 -0
  94. package/src/app/(main)/chat/(workspace)/_layout/Desktop/Portal.tsx +3 -2
  95. package/src/app/(main)/discover/(detail)/assistant/[slug]/features/InfoSidebar/index.tsx +5 -8
  96. package/src/app/(main)/discover/(detail)/features/Back.tsx +0 -5
  97. package/src/app/(main)/discover/(detail)/features/DetailLayout.tsx +2 -34
  98. package/src/app/(main)/discover/(detail)/model/[...slugs]/features/InfoSidebar/index.tsx +3 -6
  99. package/src/app/(main)/discover/(detail)/model/[...slugs]/features/ProviderList/ProviderItem.tsx +14 -15
  100. package/src/app/(main)/discover/(detail)/plugin/[slug]/features/InfoSidebar/index.tsx +3 -6
  101. package/src/app/(main)/discover/(detail)/provider/[slug]/features/InfoSidebar/index.tsx +3 -6
  102. package/src/app/(main)/discover/(detail)/provider/[slug]/features/ModelList/ModelItem.tsx +14 -11
  103. package/src/app/(main)/discover/(list)/(home)/features/AssistantList.tsx +5 -11
  104. package/src/app/(main)/discover/(list)/(home)/features/ModelList.tsx +3 -3
  105. package/src/app/(main)/discover/(list)/(home)/features/PluginList.tsx +3 -6
  106. package/src/app/(main)/discover/(list)/assistants/features/List.tsx +7 -16
  107. package/src/app/(main)/discover/(list)/models/features/List.tsx +5 -11
  108. package/src/app/(main)/discover/(list)/plugins/features/List.tsx +7 -16
  109. package/src/app/(main)/discover/(list)/providers/features/List.tsx +5 -11
  110. package/src/app/(main)/discover/_layout/Desktop/index.tsx +3 -0
  111. package/src/app/(main)/discover/_layout/Mobile/index.tsx +8 -1
  112. package/src/app/(main)/settings/llm/ProviderList/Github/index.tsx +53 -0
  113. package/src/app/(main)/settings/llm/ProviderList/providers.tsx +6 -1
  114. package/src/app/api/chat/agentRuntime.ts +14 -0
  115. package/src/app/layout.tsx +2 -1
  116. package/src/components/NProgress/index.tsx +12 -0
  117. package/src/components/SidebarHeader/index.tsx +1 -1
  118. package/src/config/llm.ts +14 -0
  119. package/src/config/modelProviders/ai21.ts +37 -0
  120. package/src/config/modelProviders/anthropic.ts +4 -0
  121. package/src/config/modelProviders/github.ts +209 -0
  122. package/src/config/modelProviders/index.ts +8 -0
  123. package/src/const/layoutTokens.ts +1 -1
  124. package/src/const/plugin.test.ts +80 -0
  125. package/src/const/plugin.ts +12 -0
  126. package/src/const/settings/llm.ts +10 -0
  127. package/src/features/Conversation/Error/APIKeyForm/index.tsx +4 -0
  128. package/src/features/Conversation/Messages/Tool/Inspector/index.tsx +1 -1
  129. package/src/features/Conversation/Messages/Tool/index.tsx +1 -1
  130. package/src/features/Conversation/components/ChatItem/index.tsx +24 -2
  131. package/src/features/Conversation/components/ChatItem/utils.test.ts +150 -0
  132. package/src/features/Conversation/components/ChatItem/utils.ts +28 -0
  133. package/src/features/Conversation/components/InboxWelcome/AgentsSuggest.tsx +3 -6
  134. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/Icon.tsx +96 -0
  135. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/index.tsx +129 -0
  136. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/index.ts +10 -0
  137. package/src/features/Conversation/components/MarkdownElements/LobeArtifact/rehypePlugin.ts +74 -0
  138. package/src/features/Conversation/components/MarkdownElements/LobeThinking/Render.tsx +86 -0
  139. package/src/features/Conversation/components/MarkdownElements/LobeThinking/index.ts +12 -0
  140. package/src/features/Conversation/components/MarkdownElements/LobeThinking/rehypePlugin.test.ts +124 -0
  141. package/src/features/Conversation/components/MarkdownElements/LobeThinking/rehypePlugin.ts +51 -0
  142. package/src/features/Conversation/components/MarkdownElements/index.ts +4 -0
  143. package/src/features/Conversation/components/MarkdownElements/type.ts +7 -0
  144. package/src/hooks/useInterceptingRoutes.ts +1 -16
  145. package/src/libs/agent-runtime/AgentRuntime.ts +14 -0
  146. package/src/libs/agent-runtime/ai21/index.test.ts +255 -0
  147. package/src/libs/agent-runtime/ai21/index.ts +18 -0
  148. package/src/libs/agent-runtime/error.ts +2 -0
  149. package/src/libs/agent-runtime/github/index.test.ts +246 -0
  150. package/src/libs/agent-runtime/github/index.ts +15 -0
  151. package/src/libs/agent-runtime/openrouter/__snapshots__/index.test.ts.snap +2215 -28
  152. package/src/libs/agent-runtime/openrouter/fixtures/models.json +3345 -37
  153. package/src/libs/agent-runtime/openrouter/index.ts +2 -1
  154. package/src/libs/agent-runtime/types/type.ts +2 -0
  155. package/src/locales/default/chat.ts +7 -0
  156. package/src/locales/default/error.ts +3 -0
  157. package/src/locales/default/modelProvider.ts +7 -0
  158. package/src/locales/default/portal.ts +17 -1
  159. package/src/server/globalConfig/index.ts +14 -0
  160. package/src/store/chat/slices/message/selectors.ts +30 -28
  161. package/src/store/chat/slices/portal/action.ts +15 -2
  162. package/src/store/chat/slices/portal/initialState.ts +11 -0
  163. package/src/store/chat/slices/portal/selectors.test.ts +29 -7
  164. package/src/store/chat/slices/portal/selectors.ts +56 -12
  165. package/src/styles/loading.ts +28 -0
  166. package/src/tools/artifacts/index.ts +13 -0
  167. package/src/tools/artifacts/systemRole.ts +338 -0
  168. package/src/tools/index.ts +6 -0
  169. package/src/types/user/settings/keyVaults.ts +2 -0
  170. package/src/utils/clipboard.ts +53 -0
  171. package/src/app/@modal/(.)discover/assistant/[slug]/page.tsx +0 -1
  172. package/src/app/@modal/(.)discover/layout.tsx +0 -29
  173. package/src/app/@modal/(.)discover/loading.tsx +0 -3
  174. package/src/app/@modal/(.)discover/model/[...slugs]/page.tsx +0 -1
  175. package/src/app/@modal/(.)discover/plugin/[slug]/page.tsx +0 -1
  176. package/src/app/@modal/(.)discover/provider/[slug]/page.tsx +0 -1
  177. package/src/app/redirect/page.tsx +0 -15
  178. package/src/components/InterceptingLink/index.tsx +0 -27
  179. /package/src/app/(main)/chat/(workspace)/@portal/Home/Body/{Artifacts → Plugins}/ArtifactList/Item/index.tsx +0 -0
  180. /package/src/app/(main)/chat/(workspace)/@portal/Home/Body/{Artifacts → Plugins}/ArtifactList/Item/style.ts +0 -0
  181. /package/src/app/(main)/chat/(workspace)/@portal/Home/Body/{Artifacts → Plugins}/ArtifactList/index.tsx +0 -0
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "안녕하세요, 저는 **{{name}}**입니다. {{systemRole}}입니다. 대화를 시작해 봅시다!",
7
7
  "agentDefaultMessageWithoutEdit": "안녕하세요, 저는 **{{name}}**입니다. 대화를 시작해보세요!",
8
8
  "agentsAndConversations": "에이전트 및 대화",
9
+ "artifact": {
10
+ "generating": "생성 중",
11
+ "thinking": "생각 중",
12
+ "thought": "사고 과정",
13
+ "unknownTitle": "제목 없음"
14
+ },
9
15
  "backToBottom": "하단으로 이동",
10
16
  "chatList": {
11
17
  "longMessageDetail": "자세히 보기"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "액세스 코드가 잘못되었거나 비어 있습니다. 올바른 액세스 코드를 입력하거나 사용자 지정 API 키를 추가하십시오.",
60
60
  "InvalidBedrockCredentials": "Bedrock 인증에 실패했습니다. AccessKeyId/SecretAccessKey를 확인한 후 다시 시도하십시오.",
61
61
  "InvalidClerkUser": "죄송합니다. 현재 로그인되어 있지 않습니다. 계속하려면 먼저 로그인하거나 계정을 등록해주세요.",
62
+ "InvalidGithubToken": "Github 개인 액세스 토큰이 올바르지 않거나 비어 있습니다. Github 개인 액세스 토큰을 확인한 후 다시 시도해 주십시오.",
62
63
  "InvalidOllamaArgs": "Ollama 구성이 잘못되었습니다. Ollama 구성을 확인한 후 다시 시도하십시오.",
63
64
  "InvalidProviderAPIKey": "{{provider}} API 키가 잘못되었거나 비어 있습니다. {{provider}} API 키를 확인하고 다시 시도하십시오.",
64
65
  "LocationNotSupportError": "죄송합니다. 귀하의 현재 위치는 해당 모델 서비스를 지원하지 않습니다. 지역 제한 또는 서비스 미개통으로 인한 것일 수 있습니다. 현재 위치가 해당 서비스를 지원하는지 확인하거나 다른 위치 정보를 사용해 보십시오.",
@@ -51,6 +51,13 @@
51
51
  "title": "사용자 정의 Bedrock 인증 정보 사용"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "당신의 Github PAT를 입력하세요. [여기](https://github.com/settings/tokens)를 클릭하여 생성하세요.",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "프록시 주소가 올바르게 입력되었는지 테스트합니다",
@@ -6,11 +6,27 @@
6
6
  "file": "파일"
7
7
  }
8
8
  },
9
+ "Plugins": "플러그인",
9
10
  "actions": {
10
11
  "genAiMessage": "AI 메시지 생성",
11
12
  "summary": "요약",
12
13
  "summaryTooltip": "현재 콘텐츠를 요약합니다"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "코드",
18
+ "preview": "미리보기"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "이미지로 복사",
22
+ "copyFail": "복사 실패, 오류 원인: {{error}}",
23
+ "copySuccess": "이미지 복사 성공",
24
+ "download": {
25
+ "png": "PNG로 다운로드",
26
+ "svg": "SVG로 다운로드"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "현재 아티팩트 목록이 비어 있습니다. 플러그인을 사용한 후에 다시 확인해주세요.",
15
31
  "emptyKnowledgeList": "현재 지식 목록이 비어 있습니다. 대화 중에 필요에 따라 지식 베이스를 활성화한 후 다시 확인해 주세요.",
16
32
  "files": "파일",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Hallo, ik ben **{{name}}**, {{systemRole}}, laten we beginnen met praten!",
7
7
  "agentDefaultMessageWithoutEdit": "Hallo, ik ben **{{name}}**. Laten we beginnen met een gesprek!",
8
8
  "agentsAndConversations": "agenten en gesprekken",
9
+ "artifact": {
10
+ "generating": "Genereren",
11
+ "thinking": "Denken",
12
+ "thought": "Denken proces",
13
+ "unknownTitle": "Onbenoemd werk"
14
+ },
9
15
  "backToBottom": "Terug naar onderen",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Bekijk details"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Ongeldige toegangscode: het wachtwoord is onjuist of leeg. Voer de juiste toegangscode in of voeg een aangepaste API-sleutel toe.",
60
60
  "InvalidBedrockCredentials": "Bedrock authentication failed, please check AccessKeyId/SecretAccessKey and retry",
61
61
  "InvalidClerkUser": "Sorry, you are not currently logged in. Please log in or register an account to continue.",
62
+ "InvalidGithubToken": "Github Persoonlijke Toegangstoken is ongeldig of leeg, controleer de Github Persoonlijke Toegangstoken en probeer het opnieuw.",
62
63
  "InvalidOllamaArgs": "Ollama-configuratie is onjuist, controleer de Ollama-configuratie en probeer het opnieuw",
63
64
  "InvalidProviderAPIKey": "{{provider}} API-sleutel is onjuist of leeg. Controleer de {{provider}} API-sleutel en probeer het opnieuw.",
64
65
  "LocationNotSupportError": "Sorry, your current location does not support this model service, possibly due to regional restrictions or service not being available. Please confirm if the current location supports using this service, or try using other location information.",
@@ -51,6 +51,13 @@
51
51
  "title": "Gebruik aangepaste Bedrock-verificatiegegevens"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "Vul je Github PAT in, klik [hier](https://github.com/settings/tokens) om er een te maken",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Test of het proxyadres correct is ingevuld",
@@ -6,11 +6,27 @@
6
6
  "file": "Bestand"
7
7
  }
8
8
  },
9
+ "Plugins": "Plugins",
9
10
  "actions": {
10
11
  "genAiMessage": "Creëer assistentbericht",
11
12
  "summary": "Samenvatting",
12
13
  "summaryTooltip": "Samenvatting van de huidige inhoud"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Code",
18
+ "preview": "Voorbeeld"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Kopieer als afbeelding",
22
+ "copyFail": "Kopiëren mislukt, foutmelding: {{error}}",
23
+ "copySuccess": "Afbeelding succesvol gekopieerd",
24
+ "download": {
25
+ "png": "Download als PNG",
26
+ "svg": "Download als SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "De huidige lijst met Artifacts is leeg. Gebruik plugins in de sessie en bekijk deze later opnieuw.",
15
31
  "emptyKnowledgeList": "De huidige kennislijst is leeg. Gelieve de kennisbank in de sessie te openen voordat u deze bekijkt.",
16
32
  "files": "Bestanden",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Cześć, jestem **{{name}}**, {{systemRole}}, zacznijmy rozmowę!",
7
7
  "agentDefaultMessageWithoutEdit": "Cześć, jestem **{{name}}**. Zacznijmy rozmowę!",
8
8
  "agentsAndConversations": "Agenci i rozmowy",
9
+ "artifact": {
10
+ "generating": "Generowanie",
11
+ "thinking": "Myślenie",
12
+ "thought": "Proces myślenia",
13
+ "unknownTitle": "Nienazwane dzieło"
14
+ },
9
15
  "backToBottom": "Przewiń na dół",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Zobacz szczegóły"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Nieprawidłowy kod dostępu: Hasło jest nieprawidłowe lub puste. Proszę wprowadzić poprawne hasło dostępu lub dodać niestandardowy klucz API.",
60
60
  "InvalidBedrockCredentials": "Uwierzytelnienie Bedrock nie powiodło się, prosimy sprawdzić AccessKeyId/SecretAccessKey i spróbować ponownie.",
61
61
  "InvalidClerkUser": "Przepraszamy, nie jesteś obecnie zalogowany. Proszę najpierw zalogować się lub zarejestrować, aby kontynuować.",
62
+ "InvalidGithubToken": "Token dostępu osobistego do GitHub jest niewłaściwy lub pusty. Proszę sprawdzić Token dostępu osobistego do GitHub i spróbować ponownie.",
62
63
  "InvalidOllamaArgs": "Nieprawidłowa konfiguracja Ollama, sprawdź konfigurację Ollama i spróbuj ponownie",
63
64
  "InvalidProviderAPIKey": "{{provider}} Klucz API jest nieprawidłowy lub pusty. Sprawdź Klucz API {{provider}} i spróbuj ponownie.",
64
65
  "LocationNotSupportError": "Przepraszamy, Twoja lokalizacja nie obsługuje tego usługi modelu, być może ze względu na ograniczenia regionalne lub brak dostępności usługi. Proszę sprawdź, czy bieżąca lokalizacja obsługuje tę usługę, lub spróbuj użyć innych informacji o lokalizacji.",
@@ -51,6 +51,13 @@
51
51
  "title": "Użyj niestandardowych informacji uwierzytelniających Bedrock"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "Wprowadź swój osobisty token dostępu GitHub (PAT), kliknij [tutaj](https://github.com/settings/tokens), aby go utworzyć",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Test czy adres proxy jest poprawnie wypełniony",
@@ -6,11 +6,27 @@
6
6
  "file": "Plik"
7
7
  }
8
8
  },
9
+ "Plugins": "Wtyczki",
9
10
  "actions": {
10
11
  "genAiMessage": "Tworzenie wiadomości AI",
11
12
  "summary": "Podsumowanie",
12
13
  "summaryTooltip": "Podsumowanie bieżącej zawartości"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Kod",
18
+ "preview": "Podgląd"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Skopiuj jako obraz",
22
+ "copyFail": "Kopiowanie nie powiodło się, powód błędu: {{error}}",
23
+ "copySuccess": "Obraz skopiowany pomyślnie",
24
+ "download": {
25
+ "png": "Pobierz jako PNG",
26
+ "svg": "Pobierz jako SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "Obecna lista Artefaktów jest pusta. Proszę użyć wtyczek w trakcie sesji, a następnie sprawdzić ponownie.",
15
31
  "emptyKnowledgeList": "Aktualna lista wiedzy jest pusta. Proszę otworzyć bazę wiedzy w trakcie rozmowy, aby ją przeglądać.",
16
32
  "files": "Pliki",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Olá, eu sou **{{name}}**, {{systemRole}}, vamos conversar!",
7
7
  "agentDefaultMessageWithoutEdit": "Olá, sou o **{{name}}**, vamos começar a conversa!",
8
8
  "agentsAndConversations": "Agentes e Conversas",
9
+ "artifact": {
10
+ "generating": "Gerando",
11
+ "thinking": "Pensando",
12
+ "thought": "Processo de pensamento",
13
+ "unknownTitle": "Obra sem título"
14
+ },
9
15
  "backToBottom": "Voltar para o início",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Ver detalhes"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Senha de acesso inválida ou em branco. Por favor, insira a senha de acesso correta ou adicione uma Chave de API personalizada.",
60
60
  "InvalidBedrockCredentials": "Credenciais Bedrock inválidas, por favor, verifique AccessKeyId/SecretAccessKey e tente novamente",
61
61
  "InvalidClerkUser": "Desculpe, você ainda não fez login. Por favor, faça login ou registre uma conta antes de continuar.",
62
+ "InvalidGithubToken": "O Token de Acesso Pessoal do Github está incorreto ou vazio. Por favor, verifique o Token de Acesso Pessoal do Github e tente novamente.",
62
63
  "InvalidOllamaArgs": "Configuração Ollama inválida, verifique a configuração do Ollama e tente novamente",
63
64
  "InvalidProviderAPIKey": "{{provider}} API Key inválido ou em branco, por favor, verifique o {{provider}} API Key e tente novamente",
64
65
  "LocationNotSupportError": "Desculpe, sua localização atual não suporta este serviço de modelo, pode ser devido a restrições geográficas ou serviço não disponível. Por favor, verifique se a localização atual suporta o uso deste serviço ou tente usar outras informações de localização.",
@@ -51,6 +51,13 @@
51
51
  "title": "Usar informações de autenticação Bedrock personalizadas"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "Insira seu PAT do Github, clique [aqui](https://github.com/settings/tokens) para criar",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Teste se o endereço do proxy está corretamente preenchido",
@@ -6,11 +6,27 @@
6
6
  "file": "Arquivo"
7
7
  }
8
8
  },
9
+ "Plugins": "Plugins",
9
10
  "actions": {
10
11
  "genAiMessage": "Gerar mensagem de IA",
11
12
  "summary": "Resumo",
12
13
  "summaryTooltip": "Resumir o conteúdo atual"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Código",
18
+ "preview": "Prévia"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Copiar como imagem",
22
+ "copyFail": "Falha ao copiar, motivo do erro: {{error}}",
23
+ "copySuccess": "Imagem copiada com sucesso",
24
+ "download": {
25
+ "png": "Baixar como PNG",
26
+ "svg": "Baixar como SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "A lista de Artefatos atual está vazia. Por favor, use os plugins conforme necessário durante a sessão e depois verifique novamente.",
15
31
  "emptyKnowledgeList": "A lista de conhecimentos atual está vazia. Por favor, ative o repositório de conhecimentos conforme necessário durante a conversa antes de visualizar.",
16
32
  "files": "Arquivos",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Привет, я **{{name}}**, {{systemRole}}. Давай начнем разговор!",
7
7
  "agentDefaultMessageWithoutEdit": "Привет, я **{{name}}**, давай начнём разговор!",
8
8
  "agentsAndConversations": "Агенты и беседы",
9
+ "artifact": {
10
+ "generating": "Генерация",
11
+ "thinking": "В процессе размышлений",
12
+ "thought": "Процесс мышления",
13
+ "unknownTitle": "Безымянное произведение"
14
+ },
9
15
  "backToBottom": "Вернуться вниз",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Посмотреть детали"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Неверный код доступа: введите правильный код доступа или добавьте пользовательский ключ API",
60
60
  "InvalidBedrockCredentials": "Аутентификация Bedrock не прошла, пожалуйста, проверьте AccessKeyId/SecretAccessKey и повторите попытку",
61
61
  "InvalidClerkUser": "Извините, вы еще не вошли в систему. Пожалуйста, войдите или зарегистрируйтесь, прежде чем продолжить",
62
+ "InvalidGithubToken": "Личный токен доступа Github некорректен или пуст, пожалуйста, проверьте личный токен доступа Github и повторите попытку",
62
63
  "InvalidOllamaArgs": "Неверная конфигурация Ollama, пожалуйста, проверьте конфигурацию Ollama и повторите попытку",
63
64
  "InvalidProviderAPIKey": "{{provider}} API ключ недействителен или отсутствует. Пожалуйста, проверьте ключ API {{provider}} и повторите попытку",
64
65
  "LocationNotSupportError": "Извините, ваше текущее местоположение не поддерживает эту службу модели, возможно из-за ограничений региона или недоступности службы. Пожалуйста, убедитесь, что текущее местоположение поддерживает использование этой службы, или попробуйте использовать другую информацию о местоположении.",
@@ -51,6 +51,13 @@
51
51
  "title": "Использовать пользовательскую информацию аутентификации Bedrock"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "Введите ваш персональный токен доступа GitHub (PAT), нажмите [здесь](https://github.com/settings/tokens), чтобы создать его",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Проверить правильность адреса прокси",
@@ -6,11 +6,27 @@
6
6
  "file": "Файл"
7
7
  }
8
8
  },
9
+ "Plugins": "Плагины",
9
10
  "actions": {
10
11
  "genAiMessage": "Создать сообщение помощника",
11
12
  "summary": "Сводка",
12
13
  "summaryTooltip": "Сводка текущего содержимого"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Код",
18
+ "preview": "Предварительный просмотр"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Скопировать как изображение",
22
+ "copyFail": "Не удалось скопировать, причина ошибки: {{error}}",
23
+ "copySuccess": "Изображение успешно скопировано",
24
+ "download": {
25
+ "png": "Скачать как PNG",
26
+ "svg": "Скачать как SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "Список текущих артефактов пуст. Пожалуйста, используйте плагины во время сеанса и затем просмотрите.",
15
31
  "emptyKnowledgeList": "Текущий список знаний пуст. Пожалуйста, откройте базу знаний по мере необходимости в разговоре, прежде чем просматривать.",
16
32
  "files": "файлы",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Merhaba, Ben **{{name}}**, {{systemRole}}. Hemen sohbet etmeye başlayalım!",
7
7
  "agentDefaultMessageWithoutEdit": "Merhaba, ben **{{name}}**. Konuşmaya başlayalım!",
8
8
  "agentsAndConversations": "Ajanlar ve Konuşmalar",
9
+ "artifact": {
10
+ "generating": "Üretiliyor",
11
+ "thinking": "Düşünülüyor",
12
+ "thought": "Düşünce Süreci",
13
+ "unknownTitle": "İsimsiz Eser"
14
+ },
9
15
  "backToBottom": "En alta git",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Detayları görüntüle"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Geçersiz Erişim Kodu: Geçersiz veya boş bir şifre girdiniz. Lütfen doğru erişim şifresini girin veya özel API Anahtarı ekleyin.",
60
60
  "InvalidBedrockCredentials": "Bedrock kimlik doğrulaması geçersiz, lütfen AccessKeyId/SecretAccessKey bilgilerinizi kontrol edip tekrar deneyin",
61
61
  "InvalidClerkUser": "Üzgünüz, şu anda giriş yapmadınız. Lütfen işlemlere devam etmeden önce giriş yapın veya hesap oluşturun",
62
+ "InvalidGithubToken": "Github Kişisel Erişim Token'ı hatalı veya boş. Lütfen Github Kişisel Erişim Token'ınızı kontrol edin ve tekrar deneyin.",
62
63
  "InvalidOllamaArgs": "Ollama yapılandırması yanlış, lütfen Ollama yapılandırmasını kontrol edip tekrar deneyin",
63
64
  "InvalidProviderAPIKey": "{{provider}} API Anahtarı geçersiz veya boş, lütfen {{provider}} API Anahtarını kontrol edip tekrar deneyin",
64
65
  "LocationNotSupportError": "Üzgünüz, bulunduğunuz konum bu model hizmetini desteklemiyor, muhtemelen bölge kısıtlamaları veya hizmetin henüz açılmamış olması nedeniyle. Lütfen mevcut konumun bu hizmeti kullanmaya uygun olup olmadığını doğrulayın veya başka bir konum bilgisi kullanmayı deneyin.",
@@ -51,6 +51,13 @@
51
51
  "title": "Özel Bedrock Kimlik Bilgilerini Kullan"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "Github PAT'nizi girin, [buraya](https://github.com/settings/tokens) tıklayarak oluşturun",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Proxy adresinin doğru girilip girilmediğini test edin",
@@ -6,11 +6,27 @@
6
6
  "file": "Dosya"
7
7
  }
8
8
  },
9
+ "Plugins": "Eklentiler",
9
10
  "actions": {
10
11
  "genAiMessage": "Yapay Zeka Mesajı Oluştur",
11
12
  "summary": "Özet",
12
13
  "summaryTooltip": "Mevcut içeriği özetle"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Kod",
18
+ "preview": "Önizleme"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Resmi Kopyala",
22
+ "copyFail": "Kopyalama başarısız, hata nedeni: {{error}}",
23
+ "copySuccess": "Resim başarıyla kopyalandı",
24
+ "download": {
25
+ "png": "PNG olarak indir",
26
+ "svg": "SVG olarak indir"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "Mevcut Artefakt listesi boş, lütfen eklentileri kullanarak oturumda gerektiğinde göz atın",
15
31
  "emptyKnowledgeList": "Mevcut bilgi listesi boş. Lütfen sohbet sırasında ihtiyaç duyduğunuz bilgi havuzunu açtıktan sonra tekrar kontrol edin.",
16
32
  "files": "Dosyalar",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "Xin chào, tôi là **{{name}}**, {{systemRole}}. Hãy bắt đầu trò chuyện ngay!",
7
7
  "agentDefaultMessageWithoutEdit": "Xin chào, tôi là **{{name}}**, chúng ta hãy bắt đầu trò chuyện nào!",
8
8
  "agentsAndConversations": "Người hỗ trợ và cuộc trò chuyện",
9
+ "artifact": {
10
+ "generating": "Đang tạo",
11
+ "thinking": "Đang suy nghĩ",
12
+ "thought": "Quá trình suy nghĩ",
13
+ "unknownTitle": "Tác phẩm chưa được đặt tên"
14
+ },
9
15
  "backToBottom": "Quay về dưới cùng",
10
16
  "chatList": {
11
17
  "longMessageDetail": "Xem chi tiết"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "Mật khẩu truy cập không hợp lệ hoặc trống, vui lòng nhập mật khẩu truy cập đúng hoặc thêm Khóa API tùy chỉnh",
60
60
  "InvalidBedrockCredentials": "Xác thực Bedrock không thành công, vui lòng kiểm tra AccessKeyId/SecretAccessKey và thử lại",
61
61
  "InvalidClerkUser": "Xin lỗi, bạn chưa đăng nhập. Vui lòng đăng nhập hoặc đăng ký tài khoản trước khi tiếp tục.",
62
+ "InvalidGithubToken": "Mã truy cập cá nhân Github không chính xác hoặc để trống, vui lòng kiểm tra lại Mã truy cập cá nhân Github và thử lại",
62
63
  "InvalidOllamaArgs": "Cấu hình Ollama không hợp lệ, vui lòng kiểm tra lại cấu hình Ollama và thử lại",
63
64
  "InvalidProviderAPIKey": "{{provider}} API Key không hợp lệ hoặc trống, vui lòng kiểm tra và thử lại",
64
65
  "LocationNotSupportError": "Xin lỗi, vị trí của bạn không hỗ trợ dịch vụ mô hình này, có thể do hạn chế vùng miền hoặc dịch vụ chưa được mở. Vui lòng xác nhận xem vị trí hiện tại có hỗ trợ sử dụng dịch vụ này không, hoặc thử sử dụng thông tin vị trí khác.",
@@ -51,6 +51,13 @@
51
51
  "title": "Sử dụng Thông tin Xác thực Bedrock tùy chỉnh"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "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",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "Kiểm tra địa chỉ proxy có được nhập chính xác không",
@@ -6,11 +6,27 @@
6
6
  "file": "Tập tin"
7
7
  }
8
8
  },
9
+ "Plugins": "Tiện ích",
9
10
  "actions": {
10
11
  "genAiMessage": "Tạo tin nhắn trợ giúp",
11
12
  "summary": "Tóm tắt",
12
13
  "summaryTooltip": "Tóm tắt nội dung hiện tại"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "Mã",
18
+ "preview": "Xem trước"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "Sao chép dưới dạng hình ảnh",
22
+ "copyFail": "Sao chép thất bại, lý do lỗi: {{error}}",
23
+ "copySuccess": "Sao chép hình ảnh thành công",
24
+ "download": {
25
+ "png": "Tải xuống dưới dạng PNG",
26
+ "svg": "Tải xuống dưới dạng SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "Danh sách Tác Phẩm hiện tại đang trống, vui lòng sử dụng các plugin trong cuộc trò chuyện trước khi xem lại",
15
31
  "emptyKnowledgeList": "Danh sách kiến thức hiện tại trống, vui lòng mở kho kiến thức khi cần trong cuộc trò chuyện trước khi xem",
16
32
  "files": "Tập tin",
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "你好,我是 **{{name}}**,{{systemRole}},让我们开始对话吧!",
7
7
  "agentDefaultMessageWithoutEdit": "你好,我是 **{{name}}**,让我们开始对话吧!",
8
8
  "agentsAndConversations": "助手与会话",
9
+ "artifact": {
10
+ "generating": "生成中",
11
+ "thinking": "思考中",
12
+ "thought": "思考过程",
13
+ "unknownTitle": "未命名作品"
14
+ },
9
15
  "backToBottom": "跳转至当前",
10
16
  "chatList": {
11
17
  "longMessageDetail": "查看详情"
@@ -82,7 +82,8 @@
82
82
  "OllamaServiceUnavailable": "Ollama 服务连接失败,请检查 Ollama 是否运行正常,或是否正确设置 Ollama 的跨域配置",
83
83
  "AgentRuntimeError": "Lobe AI Runtime 执行出错,请根据以下信息排查或重试",
84
84
  "FreePlanLimit": "当前为免费用户,无法使用该功能,请升级到付费计划后继续使用",
85
- "SubscriptionPlanLimit": "您的订阅额度已用尽,无法使用该功能,请升级到更高计划,或购买资源包后继续使用"
85
+ "SubscriptionPlanLimit": "您的订阅额度已用尽,无法使用该功能,请升级到更高计划,或购买资源包后继续使用",
86
+ "InvalidGithubToken": "Github PAT 不正确或为空,请检查 Github PAT 后重试"
86
87
  },
87
88
  "stt": {
88
89
  "responseError": "服务请求失败,请检查配置或重试"
@@ -51,6 +51,13 @@
51
51
  "title": "使用自定义 Bedrock 鉴权信息"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "填入你的 Github PAT,点击[这里](https://github.com/settings/tokens) 创建",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "Github PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "测试代理地址是否正确填写",
@@ -6,13 +6,29 @@
6
6
  "file": "文件"
7
7
  }
8
8
  },
9
+ "Plugins": "插件",
9
10
  "actions": {
10
11
  "genAiMessage": "创建助手消息",
11
12
  "summary": "总结",
12
13
  "summaryTooltip": "总结当前内容"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "代码",
18
+ "preview": "预览"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "复制为图片",
22
+ "copyFail": "复制失败,错误原因:{{error}}",
23
+ "copySuccess": "图片复制成功",
24
+ "download": {
25
+ "png": "下载为 PNG",
26
+ "svg": "下载为 SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "当前 Artifacts 列表为空,请在会话中按需使用插件后再查看",
15
- "emptyKnowledgeList": "当前知识列表为空,请在会话中按需开启知识库后再查看",
31
+ "emptyKnowledgeList": "当前知识列表为空",
16
32
  "files": "文件",
17
33
  "messageDetail": "消息详情",
18
34
  "title": "工作区"
@@ -6,6 +6,12 @@
6
6
  "agentDefaultMessageWithSystemRole": "你好,我是 **{{name}}**,{{systemRole}},讓我們開始對話吧!",
7
7
  "agentDefaultMessageWithoutEdit": "你好,我是 **{{name}}**,讓我們開始對話吧!",
8
8
  "agentsAndConversations": "助理與對話",
9
+ "artifact": {
10
+ "generating": "生成中",
11
+ "thinking": "思考中",
12
+ "thought": "思考過程",
13
+ "unknownTitle": "未命名作品"
14
+ },
9
15
  "backToBottom": "返回底部",
10
16
  "chatList": {
11
17
  "longMessageDetail": "查看詳情"
@@ -59,6 +59,7 @@
59
59
  "InvalidAccessCode": "密碼不正確或為空,請輸入正確的訪問密碼,或添加自定義 API 金鑰",
60
60
  "InvalidBedrockCredentials": "Bedrock 驗證未通過,請檢查 AccessKeyId/SecretAccessKey 後重試",
61
61
  "InvalidClerkUser": "很抱歉,你當前尚未登錄,請先登錄或註冊帳號後繼續操作",
62
+ "InvalidGithubToken": "Github 個人存取權杖不正確或為空,請檢查 Github 個人存取權杖後再試一次",
62
63
  "InvalidOllamaArgs": "Ollama 配置不正確,請檢查 Ollama 配置後重試",
63
64
  "InvalidProviderAPIKey": "{{provider}} API 金鑰不正確或為空,請檢查 {{provider}} API 金鑰後重試",
64
65
  "LocationNotSupportError": "很抱歉,你的所在位置不支持此模型服務,可能是由於地區限制或服務未開通。請確認當前位置是否支持使用此服務,或嘗試使用其他位置信息。",
@@ -51,6 +51,13 @@
51
51
  "title": "使用自定義 Bedrock 驗證資訊"
52
52
  }
53
53
  },
54
+ "github": {
55
+ "personalAccessToken": {
56
+ "desc": "填入你的 Github 個人存取權杖,點擊[這裡](https://github.com/settings/tokens) 創建",
57
+ "placeholder": "ghp_xxxxxx",
58
+ "title": "GitHub PAT"
59
+ }
60
+ },
54
61
  "ollama": {
55
62
  "checker": {
56
63
  "desc": "測試代理地址是否正確填寫",
@@ -6,11 +6,27 @@
6
6
  "file": "檔案"
7
7
  }
8
8
  },
9
+ "Plugins": "外掛",
9
10
  "actions": {
10
11
  "genAiMessage": "生成助手訊息",
11
12
  "summary": "摘要",
12
13
  "summaryTooltip": "總結目前內容"
13
14
  },
15
+ "artifacts": {
16
+ "display": {
17
+ "code": "程式碼",
18
+ "preview": "預覽"
19
+ },
20
+ "svg": {
21
+ "copyAsImage": "複製為圖片",
22
+ "copyFail": "複製失敗,錯誤原因:{{error}}",
23
+ "copySuccess": "圖片複製成功",
24
+ "download": {
25
+ "png": "下載為 PNG",
26
+ "svg": "下載為 SVG"
27
+ }
28
+ }
29
+ },
14
30
  "emptyArtifactList": "當前文物列表為空,請在會話中按需使用插件後再查看",
15
31
  "emptyKnowledgeList": "當前知識列表為空,請在會話中按需開啟知識庫後再查看",
16
32
  "files": "檔案",