@lobehub/chat 0.148.10 → 0.149.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +1 -1
- package/CHANGELOG.md +42 -0
- package/docs/self-hosting/advanced/sso-providers/github.zh-CN.mdx +1 -3
- package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
- package/docs/self-hosting/examples/ollama.mdx +0 -1
- package/docs/self-hosting/examples/ollama.zh-CN.mdx +0 -2
- package/locales/ar/chat.json +6 -0
- package/locales/ar/error.json +1 -1
- package/locales/ar/modelProvider.json +25 -1
- package/locales/ar/welcome.json +1 -0
- package/locales/bg-BG/chat.json +6 -0
- package/locales/bg-BG/error.json +1 -1
- package/locales/bg-BG/modelProvider.json +25 -1
- package/locales/bg-BG/welcome.json +1 -0
- package/locales/de-DE/chat.json +6 -0
- package/locales/de-DE/error.json +1 -1
- package/locales/de-DE/modelProvider.json +25 -1
- package/locales/de-DE/welcome.json +1 -0
- package/locales/en-US/chat.json +6 -0
- package/locales/en-US/error.json +1 -1
- package/locales/en-US/modelProvider.json +25 -1
- package/locales/en-US/welcome.json +1 -0
- package/locales/es-ES/chat.json +6 -0
- package/locales/es-ES/error.json +1 -1
- package/locales/es-ES/modelProvider.json +25 -1
- package/locales/es-ES/welcome.json +1 -0
- package/locales/fr-FR/chat.json +6 -0
- package/locales/fr-FR/error.json +1 -1
- package/locales/fr-FR/modelProvider.json +25 -1
- package/locales/fr-FR/welcome.json +1 -0
- package/locales/it-IT/chat.json +6 -0
- package/locales/it-IT/error.json +1 -1
- package/locales/it-IT/modelProvider.json +25 -1
- package/locales/it-IT/welcome.json +1 -0
- package/locales/ja-JP/chat.json +6 -0
- package/locales/ja-JP/error.json +1 -1
- package/locales/ja-JP/modelProvider.json +25 -1
- package/locales/ja-JP/welcome.json +1 -0
- package/locales/ko-KR/chat.json +6 -0
- package/locales/ko-KR/error.json +1 -1
- package/locales/ko-KR/modelProvider.json +25 -1
- package/locales/ko-KR/welcome.json +1 -0
- package/locales/nl-NL/chat.json +6 -0
- package/locales/nl-NL/error.json +1 -1
- package/locales/nl-NL/modelProvider.json +25 -1
- package/locales/nl-NL/welcome.json +1 -0
- package/locales/pl-PL/chat.json +6 -0
- package/locales/pl-PL/error.json +1 -1
- package/locales/pl-PL/modelProvider.json +25 -1
- package/locales/pl-PL/welcome.json +1 -0
- package/locales/pt-BR/chat.json +6 -0
- package/locales/pt-BR/error.json +1 -1
- package/locales/pt-BR/modelProvider.json +25 -1
- package/locales/pt-BR/welcome.json +1 -0
- package/locales/ru-RU/chat.json +6 -0
- package/locales/ru-RU/error.json +1 -1
- package/locales/ru-RU/modelProvider.json +25 -1
- package/locales/ru-RU/welcome.json +1 -0
- package/locales/tr-TR/chat.json +6 -0
- package/locales/tr-TR/error.json +1 -1
- package/locales/tr-TR/modelProvider.json +25 -1
- package/locales/tr-TR/welcome.json +1 -0
- package/locales/vi-VN/chat.json +6 -0
- package/locales/vi-VN/error.json +1 -1
- package/locales/vi-VN/modelProvider.json +25 -1
- package/locales/vi-VN/welcome.json +1 -0
- package/locales/zh-CN/chat.json +7 -1
- package/locales/zh-CN/error.json +1 -1
- package/locales/zh-CN/modelProvider.json +25 -1
- package/locales/zh-CN/welcome.json +1 -0
- package/locales/zh-TW/chat.json +6 -0
- package/locales/zh-TW/error.json +1 -1
- package/locales/zh-TW/modelProvider.json +25 -1
- package/locales/zh-TW/welcome.json +1 -0
- package/package.json +2 -2
- package/src/app/api/chat/agentRuntime.test.ts +2 -2
- package/src/app/api/config/route.ts +2 -0
- package/src/app/chat/features/TopicListContent/Topic/TopicContent.tsx +15 -6
- package/src/app/settings/llm/Ollama/index.tsx +3 -6
- package/src/app/settings/llm/components/ProviderConfig/index.tsx +15 -14
- package/src/const/settings/index.ts +1 -0
- package/src/features/Conversation/Error/{InvalidOllamaModel → OllamaBizError/InvalidOllamaModel}/index.tsx +1 -1
- package/src/features/Conversation/Error/OllamaBizError/SetupGuide.tsx +217 -0
- package/src/features/Conversation/Error/{OllamaBizError.tsx → OllamaBizError/index.tsx} +15 -2
- package/src/features/ModelSwitchPanel/index.tsx +0 -6
- package/src/libs/agent-runtime/ollama/index.ts +42 -57
- package/src/libs/agent-runtime/ollama/stream.ts +31 -0
- package/src/libs/agent-runtime/ollama/type.ts +8 -0
- package/src/libs/agent-runtime/types/chat.ts +0 -7
- package/src/locales/default/chat.ts +2 -0
- package/src/locales/default/error.ts +2 -1
- package/src/locales/default/modelProvider.ts +27 -1
- package/src/services/__tests__/chat.test.ts +1 -1
- package/src/services/ollama.ts +6 -9
- package/src/store/chat/slices/topic/action.test.ts +8 -4
- package/src/store/chat/slices/topic/action.ts +70 -28
- package/src/store/chat/slices/topic/initialState.ts +2 -1
- package/src/store/chat/slices/topic/reducer.test.ts +3 -5
- package/src/store/chat/slices/topic/reducer.ts +9 -9
- package/src/types/serverConfig.ts +1 -1
- package/src/libs/agent-runtime/ollama/index.test.ts +0 -365
- /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
|
|
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,48 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.149.1](https://github.com/lobehub/lobe-chat/compare/v0.149.0...v0.149.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-04-24**</sup>
|
|
8
|
+
|
|
9
|
+
<br/>
|
|
10
|
+
|
|
11
|
+
<details>
|
|
12
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
13
|
+
|
|
14
|
+
</details>
|
|
15
|
+
|
|
16
|
+
<div align="right">
|
|
17
|
+
|
|
18
|
+
[](#readme-top)
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
## [Version 0.149.0](https://github.com/lobehub/lobe-chat/compare/v0.148.10...v0.149.0)
|
|
23
|
+
|
|
24
|
+
<sup>Released on **2024-04-24**</sup>
|
|
25
|
+
|
|
26
|
+
#### ✨ Features
|
|
27
|
+
|
|
28
|
+
- **misc**: Fully support ollama with browser request mode.
|
|
29
|
+
|
|
30
|
+
<br/>
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
34
|
+
|
|
35
|
+
#### What's improved
|
|
36
|
+
|
|
37
|
+
- **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))
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
<div align="right">
|
|
42
|
+
|
|
43
|
+
[](#readme-top)
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
5
47
|
### [Version 0.148.10](https://github.com/lobehub/lobe-chat/compare/v0.148.9...v0.148.10)
|
|
6
48
|
|
|
7
49
|
<sup>Released on **2024-04-24**</sup>
|
|
@@ -16,7 +16,7 @@ tags:
|
|
|
16
16
|
<Steps>
|
|
17
17
|
### 创建 Github 提供应用
|
|
18
18
|
|
|
19
|
-
点击[这里]
|
|
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
|
|
188
|
+
- Example: `http://127.0.0.1:11434`
|
|
189
189
|
|
|
190
190
|
### `OLLAMA_MODEL_LIST`
|
|
191
191
|
|
|
@@ -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`设置环境变量:
|
package/locales/ar/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "سيتم حذف هذا الموضوع قريبًا، وبمجرد الحذف لن يمكن استعادته، يرجى التحلي بالحذر.",
|
|
98
102
|
"confirmRemoveUnstarred": "سيتم حذف المواضيع غير المحفوظة قريبًا، وبمجرد الحذف لن يمكن استعادتها، يرجى التحلي بالحذر.",
|
|
99
103
|
"defaultTitle": "الموضوع الافتراضي",
|
|
104
|
+
"duplicateLoading": "جاري نسخ الموضوع...",
|
|
105
|
+
"duplicateSuccess": "تم نسخ الموضوع بنجاح",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "انقر فوق زر الإرسال الأيسر لحفظ الجلسة الحالية كموضوع تاريخي وبدء جلسة جديدة",
|
|
102
108
|
"title": "قائمة المواضيع"
|
package/locales/ar/error.json
CHANGED
|
@@ -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,33 @@
|
|
|
130
130
|
},
|
|
131
131
|
"endpoint": {
|
|
132
132
|
"desc": "أدخل عنوان واجهة برمجة التطبيقات الخاص بـ Ollama، إذا لم يتم تحديده محليًا، يمكن تركه فارغًا",
|
|
133
|
-
"placeholder": "http://127.0.0.1:11434
|
|
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 ، يرجى زيارة الموقع الرسمي <1>للتنزيل</1>",
|
|
151
|
+
"docker": "إذا كنت تفضل استخدام Docker، يوفر Ollama أيضًا صور Docker الرسمية، يمكنك سحبها باستخدام الأمر التالي:",
|
|
152
|
+
"linux": {
|
|
153
|
+
"command": "قم بتثبيته باستخدام الأمر التالي:",
|
|
154
|
+
"manual": "أو يمكنك الرجوع إلى <1>دليل تثبيت Linux يدويًا</1> للقيام بالتثبيت بنفسك."
|
|
155
|
+
},
|
|
156
|
+
"title": "تثبيت وتشغيل تطبيق Ollama محليًا",
|
|
157
|
+
"windowsTab": "Windows (نسخة معاينة)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|
package/locales/ar/welcome.json
CHANGED
package/locales/bg-BG/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "На път си да изтриеш тази тема. След като бъде изтрита, тя не може да бъде възстановена. Моля, продължи с повишено внимание.",
|
|
98
102
|
"confirmRemoveUnstarred": "На път си да изтриеш немаркираните теми. След като бъдат изтрити, те не могат да бъдат възстановени. Моля, продължи с повишено внимание.",
|
|
99
103
|
"defaultTitle": "Тема по подразбиране",
|
|
104
|
+
"duplicateLoading": "Копиране на темата...",
|
|
105
|
+
"duplicateSuccess": "Темата е успешно копирана",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "Кликни върху бутона вляво, за да запазиш текущата сесия като историческа тема и да започнеш нова сесия.",
|
|
102
108
|
"title": "Списък с теми"
|
package/locales/bg-BG/error.json
CHANGED
|
@@ -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,33 @@
|
|
|
130
130
|
},
|
|
131
131
|
"endpoint": {
|
|
132
132
|
"desc": "Въведете адрес на Ollama интерфейсния прокси, оставете празно, ако локално не е указано специално",
|
|
133
|
-
"placeholder": "http://127.0.0.1:11434
|
|
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. Ако не сте го изтеглили, моля посетете <1>официалния сайт</1> на Ollama.",
|
|
151
|
+
"docker": "Ако предпочитате да използвате Docker, Ollama предлага официален Docker образ, който можете да изтеглите с помощта на следната команда:",
|
|
152
|
+
"linux": {
|
|
153
|
+
"command": "Инсталирайте чрез следната команда:",
|
|
154
|
+
"manual": "Или може да се обадите на <1>Ръководство за ръчна инсталация на Linux</1> и да инсталирате ръчно"
|
|
155
|
+
},
|
|
156
|
+
"title": "Инсталиране и стартиране на приложението Ollama локално",
|
|
157
|
+
"windowsTab": "Windows (преглед)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|
package/locales/de-DE/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "Möchtest du dieses Thema wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
98
102
|
"confirmRemoveUnstarred": "Möchtest du die nicht markierten Themen wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
99
103
|
"defaultTitle": "Standardthema",
|
|
104
|
+
"duplicateLoading": "Thema wird kopiert...",
|
|
105
|
+
"duplicateSuccess": "Thema erfolgreich kopiert",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "Klicken Sie auf die Schaltfläche links, um das aktuelle Gespräch als historisches Thema zu speichern und eine neue Gesprächsrunde zu starten",
|
|
102
108
|
"title": "Themenliste"
|
package/locales/de-DE/error.json
CHANGED
|
@@ -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
|
|
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,33 @@
|
|
|
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
|
|
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": "Stelle sicher, dass du Ollama aktiviert hast. Wenn du Ollama noch nicht heruntergeladen hast, besuche die offizielle Website, um es <1>herunterzuladen</1>.",
|
|
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
|
+
"title": "Installieren und starten Sie die lokale Ollama-Anwendung",
|
|
157
|
+
"windowsTab": "Windows (Vorschau)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|
package/locales/en-US/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "You are about to delete this topic. Once deleted, it cannot be recovered. Please proceed with caution.",
|
|
98
102
|
"confirmRemoveUnstarred": "You are about to delete unstarred topics. Once deleted, they cannot be recovered. Please proceed with caution.",
|
|
99
103
|
"defaultTitle": "Default Topic",
|
|
104
|
+
"duplicateLoading": "Topic duplicating...",
|
|
105
|
+
"duplicateSuccess": "Topic duplicated successfully",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "Click the button on the left to save the current session as a historical topic and start a new session.",
|
|
102
108
|
"title": "Topic List"
|
package/locales/en-US/error.json
CHANGED
|
@@ -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
|
|
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,33 @@
|
|
|
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
|
|
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 make sure you have enabled Ollama. If you haven't downloaded Ollama yet, please visit the official website <1>to download</1>.",
|
|
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
|
+
"title": "Install and Start Ollama Locally",
|
|
157
|
+
"windowsTab": "Windows (Preview)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|
package/locales/es-ES/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "Estás a punto de eliminar este tema. Una vez eliminado, no se podrá recuperar. Por favor, procede con precaución.",
|
|
98
102
|
"confirmRemoveUnstarred": "Estás a punto de eliminar los temas no marcados como favoritos. Una vez eliminados, no se podrán recuperar. Por favor, procede con precaución.",
|
|
99
103
|
"defaultTitle": "Tema predeterminado",
|
|
104
|
+
"duplicateLoading": "Duplicando tema...",
|
|
105
|
+
"duplicateSuccess": "Tema duplicado exitosamente",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "Haz clic en el botón izquierdo para guardar la conversación actual como un tema histórico y comenzar una nueva sesión",
|
|
102
108
|
"title": "Lista de temas"
|
package/locales/es-ES/error.json
CHANGED
|
@@ -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": "
|
|
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,33 @@
|
|
|
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
|
|
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": "Por favor, asegúrate de que has activado Ollama. Si no has descargado Ollama, por favor visita el sitio web oficial para <1>descargarlo</1>.",
|
|
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
|
+
"title": "Instalación local y activación de la aplicación Ollama",
|
|
157
|
+
"windowsTab": "Windows (Versión de vista previa)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|
package/locales/fr-FR/chat.json
CHANGED
|
@@ -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": {
|
|
@@ -97,6 +101,8 @@
|
|
|
97
101
|
"confirmRemoveTopic": "Vous êtes sur le point de supprimer ce sujet. Cette action est irréversible. Veuillez confirmer.",
|
|
98
102
|
"confirmRemoveUnstarred": "Vous êtes sur le point de supprimer les sujets non favoris. Cette action est irréversible. Veuillez confirmer.",
|
|
99
103
|
"defaultTitle": "Sujet par défaut",
|
|
104
|
+
"duplicateLoading": "Duplication du sujet en cours...",
|
|
105
|
+
"duplicateSuccess": "Sujet dupliqué avec succès",
|
|
100
106
|
"guide": {
|
|
101
107
|
"desc": "Cliquez sur le bouton à gauche pour enregistrer la conversation actuelle comme un sujet historique et démarrer une nouvelle session.",
|
|
102
108
|
"title": "Liste des sujets"
|
package/locales/fr-FR/error.json
CHANGED
|
@@ -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": "
|
|
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,33 @@
|
|
|
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
|
|
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": "Veuillez vous assurer que vous avez activé Ollama. Si vous n'avez pas encore téléchargé Ollama, veuillez vous rendre sur le site officiel pour le <1>télécharger</1>.",
|
|
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
|
+
"title": "Install and Start Ollama Locally",
|
|
157
|
+
"windowsTab": "Windows (Preview)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
136
160
|
"title": "Ollama"
|
|
137
161
|
},
|
|
138
162
|
"openai": {
|