@lobehub/chat 0.148.10 → 0.149.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 (96) hide show
  1. package/.env.example +1 -1
  2. package/CHANGELOG.md +25 -0
  3. package/docs/self-hosting/advanced/sso-providers/github.zh-CN.mdx +1 -3
  4. package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
  5. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
  6. package/docs/self-hosting/examples/ollama.mdx +0 -1
  7. package/docs/self-hosting/examples/ollama.zh-CN.mdx +0 -2
  8. package/locales/ar/chat.json +4 -0
  9. package/locales/ar/error.json +1 -1
  10. package/locales/ar/modelProvider.json +27 -1
  11. package/locales/ar/welcome.json +1 -0
  12. package/locales/bg-BG/chat.json +4 -0
  13. package/locales/bg-BG/error.json +1 -1
  14. package/locales/bg-BG/modelProvider.json +27 -1
  15. package/locales/bg-BG/welcome.json +1 -0
  16. package/locales/de-DE/chat.json +4 -0
  17. package/locales/de-DE/error.json +1 -1
  18. package/locales/de-DE/modelProvider.json +27 -1
  19. package/locales/de-DE/welcome.json +1 -0
  20. package/locales/en-US/chat.json +4 -0
  21. package/locales/en-US/error.json +1 -1
  22. package/locales/en-US/modelProvider.json +27 -1
  23. package/locales/en-US/welcome.json +1 -0
  24. package/locales/es-ES/chat.json +4 -0
  25. package/locales/es-ES/error.json +1 -1
  26. package/locales/es-ES/modelProvider.json +27 -1
  27. package/locales/es-ES/welcome.json +1 -0
  28. package/locales/fr-FR/chat.json +4 -0
  29. package/locales/fr-FR/error.json +1 -1
  30. package/locales/fr-FR/modelProvider.json +27 -1
  31. package/locales/fr-FR/welcome.json +1 -0
  32. package/locales/it-IT/chat.json +4 -0
  33. package/locales/it-IT/error.json +1 -1
  34. package/locales/it-IT/modelProvider.json +26 -1
  35. package/locales/it-IT/welcome.json +1 -0
  36. package/locales/ja-JP/chat.json +4 -0
  37. package/locales/ja-JP/error.json +1 -1
  38. package/locales/ja-JP/modelProvider.json +27 -1
  39. package/locales/ja-JP/welcome.json +1 -0
  40. package/locales/ko-KR/chat.json +4 -0
  41. package/locales/ko-KR/error.json +1 -1
  42. package/locales/ko-KR/modelProvider.json +27 -1
  43. package/locales/ko-KR/welcome.json +1 -0
  44. package/locales/nl-NL/chat.json +4 -0
  45. package/locales/nl-NL/error.json +1 -1
  46. package/locales/nl-NL/modelProvider.json +27 -1
  47. package/locales/nl-NL/welcome.json +1 -0
  48. package/locales/pl-PL/chat.json +4 -0
  49. package/locales/pl-PL/error.json +1 -1
  50. package/locales/pl-PL/modelProvider.json +27 -1
  51. package/locales/pl-PL/welcome.json +1 -0
  52. package/locales/pt-BR/chat.json +4 -0
  53. package/locales/pt-BR/error.json +1 -1
  54. package/locales/pt-BR/modelProvider.json +27 -1
  55. package/locales/pt-BR/welcome.json +1 -0
  56. package/locales/ru-RU/chat.json +4 -0
  57. package/locales/ru-RU/error.json +1 -1
  58. package/locales/ru-RU/modelProvider.json +27 -1
  59. package/locales/ru-RU/welcome.json +1 -0
  60. package/locales/tr-TR/chat.json +4 -0
  61. package/locales/tr-TR/error.json +1 -1
  62. package/locales/tr-TR/modelProvider.json +27 -1
  63. package/locales/tr-TR/welcome.json +1 -0
  64. package/locales/vi-VN/chat.json +4 -0
  65. package/locales/vi-VN/error.json +1 -1
  66. package/locales/vi-VN/modelProvider.json +27 -1
  67. package/locales/vi-VN/welcome.json +1 -0
  68. package/locales/zh-CN/chat.json +5 -1
  69. package/locales/zh-CN/error.json +1 -1
  70. package/locales/zh-CN/modelProvider.json +27 -1
  71. package/locales/zh-CN/welcome.json +1 -0
  72. package/locales/zh-TW/chat.json +4 -0
  73. package/locales/zh-TW/error.json +1 -1
  74. package/locales/zh-TW/modelProvider.json +27 -1
  75. package/locales/zh-TW/welcome.json +1 -0
  76. package/package.json +2 -2
  77. package/src/app/api/chat/agentRuntime.test.ts +2 -2
  78. package/src/app/api/config/route.ts +2 -0
  79. package/src/app/settings/llm/Ollama/index.tsx +3 -6
  80. package/src/app/settings/llm/components/ProviderConfig/index.tsx +15 -14
  81. package/src/const/settings/index.ts +1 -0
  82. package/src/features/Conversation/Error/{InvalidOllamaModel → OllamaBizError/InvalidOllamaModel}/index.tsx +1 -1
  83. package/src/features/Conversation/Error/OllamaBizError/SetupGuide.tsx +128 -0
  84. package/src/features/Conversation/Error/{OllamaBizError.tsx → OllamaBizError/index.tsx} +15 -2
  85. package/src/features/ModelSwitchPanel/index.tsx +0 -6
  86. package/src/libs/agent-runtime/ollama/index.ts +42 -57
  87. package/src/libs/agent-runtime/ollama/stream.ts +31 -0
  88. package/src/libs/agent-runtime/ollama/type.ts +8 -0
  89. package/src/libs/agent-runtime/types/chat.ts +0 -7
  90. package/src/locales/default/error.ts +2 -1
  91. package/src/locales/default/modelProvider.ts +29 -1
  92. package/src/services/__tests__/chat.test.ts +1 -1
  93. package/src/services/ollama.ts +6 -9
  94. package/src/types/serverConfig.ts +1 -1
  95. package/src/libs/agent-runtime/ollama/index.test.ts +0 -365
  96. /package/src/features/Conversation/Error/{InvalidOllamaModel → OllamaBizError/InvalidOllamaModel}/useDownloadMonitor.ts +0 -0
package/.env.example CHANGED
@@ -61,7 +61,7 @@ OPENAI_API_KEY=sk-xxxxxxxxx
61
61
  # You can use ollama to get and run LLM locally, learn more about it via https://github.com/ollama/ollama
62
62
 
63
63
  # The local/remote ollama service url
64
- # OLLAMA_PROXY_URL=http://127.0.0.1:11434/v1
64
+ # OLLAMA_PROXY_URL=http://127.0.0.1:11434
65
65
 
66
66
  # OLLAMA_MODEL_LIST=your_ollama_model_names
67
67
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 0.149.0](https://github.com/lobehub/lobe-chat/compare/v0.148.10...v0.149.0)
6
+
7
+ <sup>Released on **2024-04-24**</sup>
8
+
9
+ #### ✨ Features
10
+
11
+ - **misc**: Fully support ollama with browser request mode.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's improved
19
+
20
+ - **misc**: Fully support ollama with browser request mode, closes [#2168](https://github.com/lobehub/lobe-chat/issues/2168) ([562d189](https://github.com/lobehub/lobe-chat/commit/562d189))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.148.10](https://github.com/lobehub/lobe-chat/compare/v0.148.9...v0.148.10)
6
31
 
7
32
  <sup>Released on **2024-04-24**</sup>
@@ -16,7 +16,7 @@ tags:
16
16
  <Steps>
17
17
  ### 创建 Github 提供应用
18
18
 
19
- 点击[这里][github-create-app]创建一个新的Gituhb App。
19
+ 点击[这里](https://github.com/settings/apps/new) 创建一个新的 Github App。
20
20
 
21
21
  填写Github App name、Homepage URL、Callbak URL
22
22
 
@@ -93,5 +93,3 @@ tags:
93
93
  </Steps>
94
94
 
95
95
  <Callout type={'info'}>部署成功后,用户将可以通过Github身份认证并使用 LobeChat。</Callout>
96
-
97
- [github-create-app]: https://github.com/settings/apps/new
@@ -185,7 +185,7 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
185
185
  - Type: Required
186
186
  - Description: Used to enable the Ollama service, setting this will display optional open-source language models in the language model list and can also specify custom language models
187
187
  - Default: -
188
- - Example: `http://127.0.0.1:11434/v1`
188
+ - Example: `http://127.0.0.1:11434`
189
189
 
190
190
  ### `OLLAMA_MODEL_LIST`
191
191
 
@@ -183,7 +183,7 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
183
183
  - 类型:必选
184
184
  - 描述:用于启用 Ollama 服务,设置后可在语言模型列表内展示可选开源语言模型,也可以指定自定义语言模型
185
185
  - 默认值:-
186
- - 示例:`http://127.0.0.1:11434/v1`
186
+ - 示例:`http://127.0.0.1:11434`
187
187
 
188
188
  ### `OLLAMA_MODEL_LIST`
189
189
 
@@ -69,7 +69,6 @@ If Ollama is run as a macOS application, environment variables should be set usi
69
69
 
70
70
  2. Restart Ollama application.
71
71
 
72
-
73
72
  ### Setting environment variables on Linux
74
73
 
75
74
  If Ollama is run as a systemd service, environment variables should be set using `systemctl`:
@@ -54,7 +54,6 @@ docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://host.docker.internal:11434
54
54
  4. 点击`OK/应用`保存。
55
55
  5. 重新运行`Ollama`。
56
56
 
57
-
58
57
  ### 在 Mac 上设置环境变量
59
58
 
60
59
  如果 Ollama 作为 macOS 应用程序运行,你需要使用 `launchctl` 设置环境变量:
@@ -68,7 +67,6 @@ docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://host.docker.internal:11434
68
67
 
69
68
  2. 重启 Ollama 应用程序。
70
69
 
71
-
72
70
  ### 在 Linux 上设置环境变量
73
71
 
74
72
  如果 Ollama 作为 systemd 服务运行,应该使用`systemctl`设置环境变量:
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "إدارة المجموعات",
50
50
  "confirmRemoveGroupAlert": "سيتم حذف هذه المجموعة قريبًا، وبعد الحذف، سيتم نقل مساعدي هذه المجموعة إلى القائمة الافتراضية، يرجى تأكيد إجراءك",
51
+ "createAgentSuccess": "تم إنشاء المساعد بنجاح",
51
52
  "createGroup": "إضافة مجموعة جديدة",
52
53
  "createSuccess": "تم الإنشاء بنجاح",
54
+ "creatingAgent": "جاري إنشاء المساعد...",
53
55
  "inputPlaceholder": "الرجاء إدخال اسم المجموعة...",
54
56
  "moveGroup": "نقل إلى مجموعة",
55
57
  "newGroup": "مجموعة جديدة",
56
58
  "rename": "إعادة تسمية المجموعة",
57
59
  "renameSuccess": "تمت إعادة التسمية بنجاح",
60
+ "sortSuccess": "تمت إعادة ترتيب الفئات بنجاح",
61
+ "sorting": "جاري تحديث ترتيب الفئات...",
58
62
  "tooLong": "يجب أن يكون طول اسم المجموعة بين 1 و 20"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "حدث خطأ في خدمة جانب القمر، يرجى التحقق من المعلومات أدناه أو إعادة المحاولة",
59
59
  "NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
60
60
  "OllamaBizError": "خطأ في طلب خدمة Ollama، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
61
- "OllamaServiceUnavailable": "خدمة Ollama غير متوفرة، يرجى التحقق مما إذا كانت قد تم تشغيلها بشكل صحيح",
61
+ "OllamaServiceUnavailable": "خدمة Ollama غير متوفرة، يرجى التحقق من تشغيل Ollama بشكل صحيح أو إعدادات الـ Ollama للاتصال عبر النطاقات",
62
62
  "OpenAIBizError": "حدث خطأ في طلب خدمة OpenAI، يرجى التحقق من المعلومات أدناه وإعادة المحاولة",
63
63
  "OpenRouterBizError": "خطأ في طلب خدمة OpenRouter AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
64
64
  "PerplexityBizError": "خطأ في طلب خدمة Perplexity AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "أدخل عنوان واجهة برمجة التطبيقات الخاص بـ Ollama، إذا لم يتم تحديده محليًا، يمكن تركه فارغًا",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "عنوان وكيل الواجهة"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "بسبب قيود الأمان في المتصفح، يجب تكوين الوصول عبر المواقع المختلفة لـ Ollama لاستخدامه بشكل صحيح.",
139
+ "linux": {
140
+ "env": "في القسم [Service]، أضف `Environment` وأضف متغير البيئة OLLAMA_ORIGINS:",
141
+ "reboot": "أعد تحميل systemd وأعد تشغيل Ollama",
142
+ "systemd": "استدعاء تحرير خدمة ollama في systemd:"
143
+ },
144
+ "macos": "افتح تطبيق \"Terminal\" والصق الأمر التالي، ثم اضغط على Enter للتشغيل.",
145
+ "reboot": "يرجى إعادة تشغيل خدمة Ollama بعد الانتهاء من التنفيذ",
146
+ "title": "تكوين Ollama للسماح بالوصول عبر المواقع المختلفة",
147
+ "windows": "على نظام Windows، انقر فوق \"لوحة التحكم\"، ثم ادخل إلى تحرير متغيرات البيئة النظامية. قم بإنشاء متغير بيئي بعنوان \"OLLAMA_ORIGINS\" لحساب المستخدم الخاص بك، واجعل قيمته * ثم انقر على \"موافق/تطبيق\" للحفظ."
148
+ },
149
+ "install": {
150
+ "description": "يرجى التأكد من تشغيل Ollama. إذا لم يتم تنزيل Ollama بعد، يرجى زيارة الموقع الرسمي لتنزيله.",
151
+ "docker": "إذا كنت تفضل استخدام Docker، يوفر Ollama أيضًا صور Docker الرسمية، يمكنك سحبها باستخدام الأمر التالي:",
152
+ "linux": {
153
+ "command": "قم بتثبيته باستخدام الأمر التالي:",
154
+ "manual": "أو يمكنك الرجوع إلى <1>دليل تثبيت Linux يدويًا</1> للقيام بالتثبيت بنفسك."
155
+ },
156
+ "macos": "قم بـ<0>تنزيل إصدار Ollama لنظام macOS</0>، وقم بفك الضغط والتثبيت.",
157
+ "title": "تثبيت وتشغيل تطبيق Ollama محليًا",
158
+ "windows": "قم بـ<0>تنزيل إصدار Ollama لنظام Windows</0>، وقم بفك الضغط والتثبيت.",
159
+ "windowsTab": "Windows (نسخة معاينة)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "استيراد التكوين",
4
+ "market": "تسوق في السوق",
4
5
  "start": "ابدأ الآن"
5
6
  },
6
7
  "header": "مرحبًا بكم في الاستخدام",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Управление на групи",
50
50
  "confirmRemoveGroupAlert": "Тази група е на път да бъде изтрита. След изтриването, агентите в тази група ще бъдат преместени в списъка по подразбиране. Моля, потвърди действието си.",
51
+ "createAgentSuccess": "Асистентът е създаден успешно",
51
52
  "createGroup": "Добави нова група",
52
53
  "createSuccess": "Създадена успешно",
54
+ "creatingAgent": "Създаване на асистент...",
53
55
  "inputPlaceholder": "Моля, въведете име на групата...",
54
56
  "moveGroup": "Премести в група",
55
57
  "newGroup": "Нова група",
56
58
  "rename": "Преименувай група",
57
59
  "renameSuccess": "Преименувана успешно",
60
+ "sortSuccess": "Сортирането е успешно",
61
+ "sorting": "Актуализация на подредбата на групите...",
58
62
  "tooLong": "Дължината на името на групата трябва да бъде между 1-20 символа"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "Възникна грешка с услугата Moonshot, моля, отстранете неизправностите или опитайте отново въз основа на следната информация.",
59
59
  "NoOpenAIAPIKey": "API ключът на OpenAI е празен, моля, добавете персонализиран API ключ на OpenAI",
60
60
  "OllamaBizError": "Грешка при заявка към услугата Ollama, моля, отстранете неизправностите или опитайте отново въз основа на следната информация",
61
- "OllamaServiceUnavailable": "Услугата Ollama не е открита, моля, проверете дали работи правилно",
61
+ "OllamaServiceUnavailable": "Услугата Ollama не е налична. Моля, проверете дали Ollama работи правилно или дали е конфигуриран коректно за междудомейност.",
62
62
  "OpenAIBizError": "Грешка при заявка към услугата OpenAI. Моля, отстранете неизправностите или опитайте отново въз основа на следната информация.",
63
63
  "OpenRouterBizError": "Грешка при заявка към услугата OpenRouter AI. Моля, отстранете неизправностите или опитайте отново въз основа на следната информация.",
64
64
  "PerplexityBizError": "Грешка при заявка към услугата Perplexity AI. Моля, отстранете неизправностите или опитайте отново въз основа на следната информация.",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "Въведете адрес на Ollama интерфейсния прокси, оставете празно, ако локално не е указано специално",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "Адрес на прокси интерфейс"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "Заради ограниченията за сигурност в браузъра, трябва да конфигурирате кросдомейн за Ollama, за да работи правилно.",
139
+ "linux": {
140
+ "env": "Добавете `Environment` в раздела [Service], като добавите променливата на средата OLLAMA_ORIGINS:",
141
+ "reboot": "Презаредете systemd и рестартирайте Ollama",
142
+ "systemd": "Извикайте systemd за редактиране на услугата ollama:"
143
+ },
144
+ "macos": "Моля, отворете приложението „Терминал“ и поставете следната команда, след което натиснете Enter",
145
+ "reboot": "Моля, рестартирайте услугата Ollama след приключване на изпълнението",
146
+ "title": "Конфигуриране на Ollama за позволяване на кросдомейн достъп",
147
+ "windows": "На Windows кликнете върху „Контролен панел“, влезте в редактиране на системните променливи. Създайте нова променлива на средата с име „OLLAMA_ORIGINS“, стойност * и кликнете „ОК/Приложи“, за да запазите промените"
148
+ },
149
+ "install": {
150
+ "description": "Моля, потвърдете, че сте стартирали Ollama. Ако не сте го изтеглили, моля, посетете официалния уебсайт за изтегляне",
151
+ "docker": "Ако предпочитате да използвате Docker, Ollama предлага официален Docker образ, който можете да изтеглите с помощта на следната команда:",
152
+ "linux": {
153
+ "command": "Инсталирайте чрез следната команда:",
154
+ "manual": "Или може да се обадите на <1>Ръководство за ръчна инсталация на Linux</1> и да инсталирате ръчно"
155
+ },
156
+ "macos": "<0>Изтеглете версията за macOS на Ollama</0>, разархивирайте я и я инсталирайте",
157
+ "title": "Инсталиране и стартиране на приложението Ollama локално",
158
+ "windows": "<0>Изтеглете версията за Windows на Ollama</0>, разархивирайте я и я инсталирайте",
159
+ "windowsTab": "Windows (преглед)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "Импортирай конфигурация",
4
+ "market": "Пазар",
4
5
  "start": "Започни сега"
5
6
  },
6
7
  "header": "Добре дошли",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Gruppenkonfiguration",
50
50
  "confirmRemoveGroupAlert": "Die Gruppe wird bald gelöscht. Nach dem Löschen werden die Assistenten in die Standardliste verschoben. Bitte bestätigen Sie Ihre Aktion.",
51
+ "createAgentSuccess": "Assistent erfolgreich erstellt",
51
52
  "createGroup": "Neue Gruppe erstellen",
52
53
  "createSuccess": "Erstellung erfolgreich",
54
+ "creatingAgent": "Assistent wird erstellt...",
53
55
  "inputPlaceholder": "Geben Sie den Gruppennamen ein...",
54
56
  "moveGroup": "In Gruppe verschieben",
55
57
  "newGroup": "Neue Gruppe",
56
58
  "rename": "Gruppe umbenennen",
57
59
  "renameSuccess": "Umbenennung erfolgreich",
60
+ "sortSuccess": "Sortierung erfolgreich aktualisiert",
61
+ "sorting": "Gruppensortierung wird aktualisiert...",
58
62
  "tooLong": "Gruppenname muss zwischen 1 und 20 Zeichen lang sein"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "Fehler beim Abrufen des Dark Side of the Moon-Services. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
59
59
  "NoOpenAIAPIKey": "Der OpenAI-API-Schlüssel ist leer. Bitte fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
60
60
  "OllamaBizError": "Fehler bei der Anforderung des Ollama-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
61
- "OllamaServiceUnavailable": "Ollama-Dienst nicht verfügbar. Bitte überprüfen Sie, ob er ordnungsgemäß gestartet wurde.",
61
+ "OllamaServiceUnavailable": "Der Ollama-Dienst ist nicht verfügbar. Bitte überprüfen Sie, ob Ollama ordnungsgemäß ausgeführt wird und ob die CORS-Konfiguration von Ollama korrekt ist.",
62
62
  "OpenAIBizError": "Fehler bei der OpenAI-Serviceanfrage. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut",
63
63
  "OpenRouterBizError": "Fehler bei der Anforderung des OpenRouter AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
64
64
  "PerplexityBizError": "Fehler bei der Anforderung des Perplexity AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "Geben Sie die Proxy-Adresse der Ollama-Schnittstelle ein, leer lassen, wenn lokal nicht spezifiziert",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "Schnittstellen-Proxy-Adresse"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "Aufgrund von Browser-Sicherheitsbeschränkungen müssen Sie die CORS-Einstellungen für Ollama konfigurieren, um es ordnungsgemäß zu verwenden.",
139
+ "linux": {
140
+ "env": "Fügen Sie unter [Service] `Environment` hinzu und setzen Sie die Umgebungsvariable OLLAMA_ORIGINS:",
141
+ "reboot": "Systemd neu laden und Ollama neu starten",
142
+ "systemd": "Rufen Sie systemd auf, um den Ollama-Dienst zu bearbeiten:"
143
+ },
144
+ "macos": "Öffnen Sie das Terminal und fügen Sie den folgenden Befehl ein, um fortzufahren.",
145
+ "reboot": "Starten Sie den Ollama-Dienst nach Abschluss der Ausführung neu.",
146
+ "title": "Konfigurieren Sie Ollama für den Zugriff über CORS",
147
+ "windows": "Klicken Sie auf Windows auf 'Systemsteuerung', um die Systemumgebungsvariablen zu bearbeiten. Erstellen Sie eine Umgebungsvariable namens 'OLLAMA_ORIGINS' für Ihr Benutzerkonto mit dem Wert '*', und klicken Sie auf 'OK/Anwenden', um zu speichern."
148
+ },
149
+ "install": {
150
+ "description": "Stellen Sie sicher, dass Ollama gestartet ist. Wenn Sie Ollama noch nicht heruntergeladen haben, besuchen Sie die offizielle Website, um es herunterzuladen.",
151
+ "docker": "Wenn Sie Docker bevorzugen, bietet Ollama auch offizielle Docker-Images an. Sie können sie mit dem folgenden Befehl abrufen:",
152
+ "linux": {
153
+ "command": "Installieren Sie mit dem folgenden Befehl:",
154
+ "manual": "Alternativ können Sie die <1>Linux-Installationsanleitung</1> für die manuelle Installation verwenden."
155
+ },
156
+ "macos": "<0>macOS-Version von Ollama herunterladen</0>, entpacken und installieren.",
157
+ "title": "Installieren und starten Sie die lokale Ollama-Anwendung",
158
+ "windows": "<0>Windows-Version von Ollama herunterladen</0>, entpacken und installieren.",
159
+ "windowsTab": "Windows (Vorschau)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "Konfiguration importieren",
4
+ "market": "Markt durchstöbern",
4
5
  "start": "Jetzt starten"
5
6
  },
6
7
  "header": "Willkommen",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Group Management",
50
50
  "confirmRemoveGroupAlert": "This group is about to be deleted. After deletion, the agents in this group will be moved to the default list. Please confirm your operation.",
51
+ "createAgentSuccess": "Assistant created successfully",
51
52
  "createGroup": "Add New Group",
52
53
  "createSuccess": "Created successfully",
54
+ "creatingAgent": "Creating assistant...",
53
55
  "inputPlaceholder": "Please enter group name...",
54
56
  "moveGroup": "Move to Group",
55
57
  "newGroup": "New Group",
56
58
  "rename": "Rename Group",
57
59
  "renameSuccess": "Renamed successfully",
60
+ "sortSuccess": "Reorder successful",
61
+ "sorting": "Group sorting updating...",
58
62
  "tooLong": "Group name length should be between 1-20"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "There was an error with the Moonshot service, please troubleshoot or retry based on the following information.",
59
59
  "NoOpenAIAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key",
60
60
  "OllamaBizError": "Error requesting Ollama service, please troubleshoot or retry based on the following information",
61
- "OllamaServiceUnavailable": "Ollama service not detected, please check if it is running properly",
61
+ "OllamaServiceUnavailable": "Ollama service is unavailable. Please check if Ollama is running properly or if the cross-origin configuration of Ollama is set correctly.",
62
62
  "OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information.",
63
63
  "OpenRouterBizError": "Error requesting OpenRouter AI service. Please troubleshoot or retry based on the following information.",
64
64
  "PerplexityBizError": "Error requesting Perplexity AI service. Please troubleshoot or retry based on the following information.",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "Enter the Ollama interface proxy address, leave blank if not specified locally",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "Interface proxy address"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "Due to browser security restrictions, you need to configure cross-origin settings for Ollama to function properly.",
139
+ "linux": {
140
+ "env": "Add `Environment` under [Service] section, and set the OLLAMA_ORIGINS environment variable:",
141
+ "reboot": "Reload systemd and restart Ollama.",
142
+ "systemd": "Invoke systemd to edit the ollama service:"
143
+ },
144
+ "macos": "Open the 'Terminal' application, paste the following command, and press Enter to run it.",
145
+ "reboot": "Please restart the Ollama service after completion.",
146
+ "title": "Configure Ollama for Cross-Origin Access",
147
+ "windows": "On Windows, go to 'Control Panel' and edit system environment variables. Create a new environment variable named 'OLLAMA_ORIGINS' for your user account, set the value to '*', and click 'OK/Apply' to save."
148
+ },
149
+ "install": {
150
+ "description": "Please ensure that you have Ollama running. If you haven't downloaded Ollama yet, please visit the official website.",
151
+ "docker": "If you prefer using Docker, Ollama also provides an official Docker image. You can pull it using the following command:",
152
+ "linux": {
153
+ "command": "Install using the following command:",
154
+ "manual": "Alternatively, you can refer to the <1>Linux Manual Installation Guide</1> for manual installation."
155
+ },
156
+ "macos": "Download the macOS version of Ollama, unzip, and install it.",
157
+ "title": "Install and Start Ollama Locally",
158
+ "windows": "Download the Windows version of Ollama, unzip, and install it.",
159
+ "windowsTab": "Windows (Preview)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "Import Configuration",
4
+ "market": "Visit Market",
4
5
  "start": "Start Now"
5
6
  },
6
7
  "header": "Welcome",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Gestión de grupos",
50
50
  "confirmRemoveGroupAlert": "Estás a punto de eliminar este grupo. Una vez eliminado, los asistentes de este grupo se moverán a la lista predeterminada. Por favor, confirma tu acción.",
51
+ "createAgentSuccess": "Asistente creado con éxito",
51
52
  "createGroup": "Crear nuevo grupo",
52
53
  "createSuccess": "Grupo creado con éxito",
54
+ "creatingAgent": "Creando asistente...",
53
55
  "inputPlaceholder": "Introduce el nombre del grupo...",
54
56
  "moveGroup": "Mover al grupo",
55
57
  "newGroup": "Nuevo grupo",
56
58
  "rename": "Renombrar grupo",
57
59
  "renameSuccess": "Grupo renombrado con éxito",
60
+ "sortSuccess": "Reordenación exitosa",
61
+ "sorting": "Actualizando orden de grupos...",
58
62
  "tooLong": "El nombre del grupo debe tener entre 1 y 20 caracteres"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "Se produjo un error al solicitar el servicio de Moonshot en el lado oscuro de la luna. Por favor, revise la siguiente información o inténtelo de nuevo.",
59
59
  "NoOpenAIAPIKey": "La clave de API de OpenAI está vacía. Agregue una clave de API de OpenAI personalizada",
60
60
  "OllamaBizError": "Error al solicitar el servicio de Ollama, por favor verifica la siguiente información o inténtalo de nuevo",
61
- "OllamaServiceUnavailable": "Servicio Ollama no disponible: Ollama no detectado. Por favor, verifica si está iniciado correctamente.",
61
+ "OllamaServiceUnavailable": "El servicio Ollama no está disponible. Por favor, verifica si Ollama está funcionando correctamente o si la configuración de Ollama para el acceso entre dominios está configurada correctamente.",
62
62
  "OpenAIBizError": "Error al solicitar el servicio OpenAI. Depure o reintente según la siguiente información",
63
63
  "OpenRouterBizError": "Error al solicitar el servicio de IA de OpenRouter. Por favor, revisa la siguiente información o inténtalo de nuevo",
64
64
  "PerplexityBizError": "Error comercial al solicitar el servicio de IA de Perplexity. Por favor, revisa la siguiente información o inténtalo de nuevo",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "Introduce la dirección del proxy de la interfaz de Ollama, déjalo en blanco si no se ha especificado localmente",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "Dirección del proxy de la interfaz"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "Debido a restricciones de seguridad del navegador, es necesario configurar Ollama para permitir el acceso entre dominios.",
139
+ "linux": {
140
+ "env": "En la sección [Service], agrega `Environment` y añade la variable de entorno OLLAMA_ORIGINS:",
141
+ "reboot": "Recarga systemd y reinicia Ollama.",
142
+ "systemd": "Edita el servicio ollama llamando a systemd:"
143
+ },
144
+ "macos": "Abre la aplicación 'Terminal', pega y ejecuta el siguiente comando, luego presiona Enter.",
145
+ "reboot": "Reinicia el servicio de Ollama una vez completada la ejecución.",
146
+ "title": "Configuración para permitir el acceso entre dominios en Ollama",
147
+ "windows": "En Windows, ve a 'Panel de control', edita las variables de entorno del sistema. Crea una nueva variable de entorno llamada 'OLLAMA_ORIGINS' para tu cuenta de usuario, con el valor '*', y haz clic en 'OK/Aplicar' para guardar los cambios."
148
+ },
149
+ "install": {
150
+ "description": "Asegúrate de haber iniciado Ollama. Si no has descargado Ollama, visita el sitio web oficial.",
151
+ "docker": "Si prefieres usar Docker, Ollama también ofrece una imagen oficial en Docker. Puedes obtenerla con el siguiente comando:",
152
+ "linux": {
153
+ "command": "Instala con el siguiente comando:",
154
+ "manual": "O también puedes consultar la <1>Guía de instalación manual en Linux</1> para instalarlo por tu cuenta."
155
+ },
156
+ "macos": "Descarga <0>la versión de Ollama para macOS</0>, descomprímela e instálala.",
157
+ "title": "Instalación local y activación de la aplicación Ollama",
158
+ "windows": "Descarga <0>la versión de Ollama para Windows</0>, descomprímela e instálala.",
159
+ "windowsTab": "Windows (Versión de vista previa)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "Importar configuración",
4
+ "market": "Explorar el mercado",
4
5
  "start": "Comenzar ahora"
5
6
  },
6
7
  "header": "Bienvenido/a",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Gestion des groupes",
50
50
  "confirmRemoveGroupAlert": "Vous êtes sur le point de supprimer ce groupe. Une fois supprimé, les agents de ce groupe seront déplacés vers la liste par défaut. Veuillez confirmer votre action.",
51
+ "createAgentSuccess": "Création de l'assistant réussie",
51
52
  "createGroup": "Créer un nouveau groupe",
52
53
  "createSuccess": "Création réussie",
54
+ "creatingAgent": "Création de l'assistant en cours...",
53
55
  "inputPlaceholder": "Veuillez saisir le nom du groupe...",
54
56
  "moveGroup": "Déplacer vers un groupe",
55
57
  "newGroup": "Nouveau groupe",
56
58
  "rename": "Renommer le groupe",
57
59
  "renameSuccess": "Renommage réussi",
60
+ "sortSuccess": "Réorganisation réussie",
61
+ "sorting": "Mise à jour de la réorganisation des groupes en cours...",
58
62
  "tooLong": "Le nom du groupe doit comporter entre 1 et 20 caractères"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "Erreur de service Moonshot : une erreur s'est produite lors de la demande du service Côté Obscur de la Lune. Veuillez vérifier les informations suivantes ou réessayer.",
59
59
  "NoOpenAIAPIKey": "La clé API OpenAI est vide. Veuillez ajouter une clé API OpenAI personnalisée",
60
60
  "OllamaBizError": "Erreur commerciale lors de la demande de service Ollama, veuillez vérifier les informations ci-dessous ou réessayer",
61
- "OllamaServiceUnavailable": "Service Ollama non disponible, veuillez vérifier s'il est démarré correctement",
61
+ "OllamaServiceUnavailable": "Le service Ollama n'est pas disponible. Veuillez vérifier si Ollama fonctionne correctement ou si la configuration de la communication inter-domaines d'Ollama est correcte.",
62
62
  "OpenAIBizError": "Erreur de service OpenAI. Veuillez diagnostiquer ou réessayer en fonction des informations ci-dessous",
63
63
  "OpenRouterBizError": "Erreur commerciale lors de la demande de service OpenRouter AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
64
64
  "PerplexityBizError": "Erreur commerciale lors de la demande de service Perplexity AI. Veuillez vérifier les informations suivantes ou réessayer.",
@@ -130,9 +130,35 @@
130
130
  },
131
131
  "endpoint": {
132
132
  "desc": "Saisissez l'adresse du proxy Ollama, laissez vide si non spécifié localement",
133
- "placeholder": "http://127.0.0.1:11434/v1",
133
+ "placeholder": "http://127.0.0.1:11434",
134
134
  "title": "Adresse du proxy"
135
135
  },
136
+ "setup": {
137
+ "cors": {
138
+ "description": "Due to browser security restrictions, you need to configure cross-origin settings for Ollama to function properly.",
139
+ "linux": {
140
+ "env": "Add `Environment` under [Service] section, and set the OLLAMA_ORIGINS environment variable:",
141
+ "reboot": "Reload systemd and restart Ollama.",
142
+ "systemd": "Invoke systemd to edit the ollama service:"
143
+ },
144
+ "macos": "Open the Terminal application, paste the following command, and press Enter.",
145
+ "reboot": "Restart the Ollama service after the execution is complete.",
146
+ "title": "Configure Ollama for Cross-Origin Access",
147
+ "windows": "On Windows, go to 'Control Panel' and edit system environment variables. Create a new environment variable named 'OLLAMA_ORIGINS' for your user account, set the value to '*', and click 'OK/Apply' to save."
148
+ },
149
+ "install": {
150
+ "description": "Make sure you have Ollama running. If you haven't downloaded Ollama yet, please visit the official website to download it.",
151
+ "docker": "If you prefer using Docker, Ollama also provides an official Docker image. You can pull it using the following command:",
152
+ "linux": {
153
+ "command": "Install using the following command:",
154
+ "manual": "Alternatively, you can refer to the <1>Linux Manual Installation Guide</1> for manual installation."
155
+ },
156
+ "macos": "Download the macOS version of Ollama, unzip, and install it.",
157
+ "title": "Install and Start Ollama Locally",
158
+ "windows": "Download the Windows version of Ollama, unzip, and install it.",
159
+ "windowsTab": "Windows (Preview)"
160
+ }
161
+ },
136
162
  "title": "Ollama"
137
163
  },
138
164
  "openai": {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "button": {
3
3
  "import": "Importer la configuration",
4
+ "market": "Parcourir le marché",
4
5
  "start": "Démarrer maintenant"
5
6
  },
6
7
  "header": "Bienvenue",
@@ -48,13 +48,17 @@
48
48
  "sessionGroup": {
49
49
  "config": "Gestione gruppi",
50
50
  "confirmRemoveGroupAlert": "Stai per rimuovere questo gruppo. Dopo la rimozione, gli assistenti di questo gruppo verranno spostati nella lista predefinita. Confermi l'operazione?",
51
+ "createAgentSuccess": "Assistente creato con successo",
51
52
  "createGroup": "Aggiungi nuovo gruppo",
52
53
  "createSuccess": "Creazione riuscita",
54
+ "creatingAgent": "Creazione dell'assistente in corso...",
53
55
  "inputPlaceholder": "Inserisci il nome del gruppo...",
54
56
  "moveGroup": "Sposta nel gruppo",
55
57
  "newGroup": "Nuovo gruppo",
56
58
  "rename": "Rinomina gruppo",
57
59
  "renameSuccess": "Rinominazione riuscita",
60
+ "sortSuccess": "Riordinamento riuscito",
61
+ "sorting": "Aggiornamento dell'ordinamento del gruppo in corso...",
58
62
  "tooLong": "Il nome del gruppo deve essere lungo 1-20 caratteri"
59
63
  },
60
64
  "shareModal": {
@@ -58,7 +58,7 @@
58
58
  "MoonshotBizError": "Si è verificato un errore nel servizio Moonshot, si prega di controllare le informazioni seguenti o riprovare",
59
59
  "NoOpenAIAPIKey": "La chiave API OpenAI è vuota. Aggiungi una chiave API personalizzata OpenAI",
60
60
  "OllamaBizError": "Errore di servizio Ollama, controllare le informazioni seguenti o riprovare",
61
- "OllamaServiceUnavailable": "Servizio Ollama non disponibile: controlla se è avviato correttamente",
61
+ "OllamaServiceUnavailable": "Servizio Ollama non disponibile: controllare che Ollama sia in esecuzione correttamente o che la configurazione di cross-origin di Ollama sia corretta",
62
62
  "OpenAIBizError": "Errore nella richiesta del servizio OpenAI. Segui le informazioni seguenti per individuare e riprovare",
63
63
  "OpenRouterBizError": "Errore di richiesta del servizio OpenRouter AI. Si prega di controllare le informazioni seguenti o riprovare.",
64
64
  "PerplexityBizError": "Errore di business nella richiesta del servizio Perplexity AI, controlla le informazioni seguenti o riprova",