+
### [Version 0.144.1](https://github.com/lobehub/lobe-chat/compare/v0.144.0...v0.144.1)
Released on **2024-03-29**
diff --git a/Dockerfile b/Dockerfile
index 7c9b4f2c996b..df668846c875 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -99,4 +99,7 @@ ENV OPENROUTER_CUSTOM_MODELS ""
# 01.AI
ENV ZEROONE_API_KEY ""
+# TogetherAI
+ENV TOGETHERAI_API_KEY ""
+
CMD ["node", "server.js"]
diff --git a/docs/self-hosting/environment-variables/model-provider.mdx b/docs/self-hosting/environment-variables/model-provider.mdx
index eb35c04c3e7f..4e0077bda7e9 100644
--- a/docs/self-hosting/environment-variables/model-provider.mdx
+++ b/docs/self-hosting/environment-variables/model-provider.mdx
@@ -203,3 +203,12 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
- Description: This is the API key you applied for in the 01.AI service
- Default: -
- 示例:`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
+
+## TogetherAI
+
+### `TOGETHERAI_API_KEY`
+
+- Type: Required
+- Description: This is the API key you applied for in the TogetherAI service
+- Default: -
+- Example: `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
diff --git a/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx b/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx
index 965e469c9de3..1aefd3ee157c 100644
--- a/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx
+++ b/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx
@@ -202,4 +202,13 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:-
- 示例:`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
+## TogetherAI
+
+### `TOGETHERAI_API_KEY`
+
+- 类型:必选
+- 描述:这是你在 TogetherAI 服务中申请的 API 密钥
+- 默认值:-
+- 示例:`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
+
[azure-api-verion-url]: https://docs.microsoft.com/zh-cn/azure/developer/javascript/api-reference/es-modules/azure-sdk/ai-translation/translationconfiguration?view=azure-node-latest#api-version
diff --git a/locales/ar/common.json b/locales/ar/common.json
index f964284778ba..d31b39396fb1 100644
--- a/locales/ar/common.json
+++ b/locales/ar/common.json
@@ -107,6 +107,7 @@
"oneapi": "وان آبي آي",
"openai": "أوبن إيه آي",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI الصفر والواحد",
"zhipu": "Zhipu"
diff --git a/locales/ar/error.json b/locales/ar/error.json
index c8a35b24fa87..1a47c01c45b0 100644
--- a/locales/ar/error.json
+++ b/locales/ar/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "مفتاح API لـ Moonshot AI غير صحيح أو فارغ، يرجى التحقق من مفتاح API لـ Moonshot وإعادة المحاولة",
"InvalidOllamaArgs": "تكوين Ollama غير صحيح، يرجى التحقق من تكوين Ollama وإعادة المحاولة",
"InvalidOpenRouterAPIKey": "مفتاح OpenRouter API غير صحيح أو فارغ، يرجى التحقق من مفتاح OpenRouter API وإعادة المحاولة",
+ "InvalidTogetherAIAPIKey": "مفتاح TogetherAI API غير صحيح أو فارغ، يرجى التحقق من مفتاح TogetherAI API وإعادة المحاولة",
"InvalidPerplexityAPIKey": "مفتاح Perplexity API غير صحيح أو فارغ، يرجى التحقق من مفتاح Perplexity API وإعادة المحاولة",
"InvalidZeroOneAPIKey": "مفتاح ZeroOne API غير صحيح أو فارغ، يرجى التحقق من مفتاح ZeroOne API وإعادة المحاولة",
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "خدمة Ollama غير متوفرة، يرجى التحقق مما إذا كانت قد تم تشغيلها بشكل صحيح",
"OpenAIBizError": "حدث خطأ في طلب خدمة OpenAI، يرجى التحقق من المعلومات أدناه وإعادة المحاولة",
"OpenRouterBizError": "خطأ في طلب خدمة OpenRouter AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
+ "TogetherAIBizError": "خطأ في طلب خدمة TogetherAI AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
"PerplexityBizError": "خطأ في طلب خدمة Perplexity AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
"PluginApiNotFound": "عذرًا، لا يوجد API للإضافة في وصف الإضافة، يرجى التحقق من تطابق طريقة الطلب الخاصة بك مع API الوصف",
"PluginApiParamsError": "عذرًا، فشلت التحقق من صحة معلمات الطلب للإضافة، يرجى التحقق من تطابق المعلمات مع معلومات الوصف",
@@ -118,6 +120,10 @@
"description": "أدخل مفتاح OpenRouter API الخاص بك للبدء في الجلسة. لن يتم تسجيل مفتاح الخاص بك من قبل التطبيق",
"title": "استخدام مفتاح OpenRouter API المخصص"
},
+ "TogetherAI": {
+ "description": "أدخل مفتاح TogetherAI API الخاص بك للبدء في الجلسة. لن يتم تسجيل مفتاح الخاص بك من قبل التطبيق",
+ "title": "استخدام مفتاح TogetherAI API المخصص"
+ },
"Perplexity": {
"description": "أدخل مفتاح Perplexity API الخاص بك للبدء في الجلسة. لن يتم تسجيل مفتاح الواجهة البرمجية لتطبيقات الجلسة",
"title": "استخدام مفتاح Perplexity API المخصص"
diff --git a/locales/ar/setting.json b/locales/ar/setting.json
index 58d7ad765b84..71ba7c19898f 100644
--- a/locales/ar/setting.json
+++ b/locales/ar/setting.json
@@ -193,6 +193,22 @@
"title": "مفتاح API"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "اختبار صحة عنوان الوكيل"
+ },
+ "customModelName": {
+ "desc": "إضافة نموذج مخصص، استخدم فاصلة (،) للنماذج المتعددة",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "اسم النموذج المخصص"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "أدخل مفتاح API من TogetherAI AI",
+ "placeholder": "مفتاح API من TogetherAI AI",
+ "title": "مفتاح API"
+ }
+ },
"Perplexity": {
"title": "Perplexity AI",
"token": {
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index db9ef6d2e664..6d4e8d5b2c9c 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -117,4 +117,4 @@
"dragDesc": "Плъзни и пусни файлове тук, поддържа се качване на няколко изображения. Задръж Shift, за да изпратиш изображения директно.",
"dragTitle": "Качи изображение"
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/error.json b/locales/bg-BG/error.json
index ebfe43973a1f..354653388790 100644
--- a/locales/bg-BG/error.json
+++ b/locales/bg-BG/error.json
@@ -156,4 +156,4 @@
"password": "Парола"
}
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/market.json b/locales/bg-BG/market.json
index 824b8eaed9f3..820de0315abc 100644
--- a/locales/bg-BG/market.json
+++ b/locales/bg-BG/market.json
@@ -29,4 +29,4 @@
"allAgents": "Всички агенти",
"recentSubmits": "Последни изпратени"
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/migration.json b/locales/bg-BG/migration.json
index 1f281810bdc8..5b42efffbbd1 100644
--- a/locales/bg-BG/migration.json
+++ b/locales/bg-BG/migration.json
@@ -42,4 +42,4 @@
"missVersion": "В импортираните данни липсва номер на версия. Моля, проверете файла и опитайте отново.",
"noMigration": "Не е намерено решение за мигриране за текущата версия. Моля, проверете номера на версията и опитайте отново. Ако проблемът продължава, моля, изпратете заявка за обратна връзка."
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/plugin.json b/locales/bg-BG/plugin.json
index 1664321e0c79..42caeb66cb09 100644
--- a/locales/bg-BG/plugin.json
+++ b/locales/bg-BG/plugin.json
@@ -163,4 +163,4 @@
},
"title": "Магазин за плъгини"
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.json
index 032a5f2d1a71..55e7dd94ce72 100644
--- a/locales/bg-BG/setting.json
+++ b/locales/bg-BG/setting.json
@@ -504,4 +504,4 @@
},
"title": "Инструменти за разширение"
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/tool.json b/locales/bg-BG/tool.json
index 84933f3f15e7..c08feea03dd4 100644
--- a/locales/bg-BG/tool.json
+++ b/locales/bg-BG/tool.json
@@ -6,4 +6,4 @@
"generating": "Генериране...",
"images": "Изображения:"
}
-}
\ No newline at end of file
+}
diff --git a/locales/bg-BG/welcome.json b/locales/bg-BG/welcome.json
index 18ed2d0f01ed..4dbe74ab17b6 100644
--- a/locales/bg-BG/welcome.json
+++ b/locales/bg-BG/welcome.json
@@ -11,4 +11,4 @@
"desc2": "Създайте първия си агент и нека започнем~",
"title": "Отключете свръхсилата на мозъка си"
}
-}
\ No newline at end of file
+}
diff --git a/locales/de-DE/common.json b/locales/de-DE/common.json
index a0be5eab0e2e..4c0e9f7aba08 100644
--- a/locales/de-DE/common.json
+++ b/locales/de-DE/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01-AI",
"zhipu": "Zhipu AI"
diff --git a/locales/de-DE/error.json b/locales/de-DE/error.json
index d6569b553f36..025f8dd91538 100644
--- a/locales/de-DE/error.json
+++ b/locales/de-DE/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Ungültiger oder leerer Moonshot AI API-Schlüssel. Bitte überprüfen Sie den Moonshot API-Schlüssel und versuchen Sie es erneut.",
"InvalidOllamaArgs": "Ollama-Konfiguration ist ungültig. Bitte überprüfen Sie die Ollama-Konfiguration und versuchen Sie es erneut.",
"InvalidOpenRouterAPIKey": "OpenRouter API-Schlüssel ungültig oder leer. Bitte überprüfen Sie den OpenRouter API-Schlüssel und versuchen Sie es erneut.",
+ "InvalidTogetherAIAPIKey": "TogetherAI API-Schlüssel ungültig oder leer. Bitte überprüfen Sie den TogetherAI API-Schlüssel und versuchen Sie es erneut.",
"InvalidPerplexityAPIKey": "Perplexity API Key ist ungültig oder leer. Bitte überprüfen Sie den Perplexity API Key und versuchen Sie es erneut.",
"InvalidZeroOneAPIKey": "Ungültiger oder leerer ZeroOne-API-Schlüssel. Bitte überprüfen Sie den ZeroOne-API-Schlüssel und versuchen Sie es erneut.",
"InvalidZhipuAPIKey": "Der Zhipu API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Zhipu API-Schlüssel und versuchen Sie es erneut.",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollama-Dienst nicht verfügbar. Bitte überprüfen Sie, ob er ordnungsgemäß gestartet wurde.",
"OpenAIBizError": "Fehler bei der OpenAI-Serviceanfrage. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut",
"OpenRouterBizError": "Fehler bei der Anforderung des OpenRouter AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
+ "TogetherAIBizError": "Fehler bei der Anforderung des TogetherAI AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
"PerplexityBizError": "Fehler bei der Anforderung des Perplexity AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
"PluginApiNotFound": "Entschuldigung, das API des Plugins im Plugin-Manifest existiert nicht. Bitte überprüfen Sie, ob Ihre Anfragemethode mit dem Plugin-Manifest-API übereinstimmt",
"PluginApiParamsError": "Entschuldigung, die Eingabeüberprüfung der Plugin-Anfrage ist fehlgeschlagen. Bitte überprüfen Sie, ob die Eingabe mit den API-Beschreibungsinformationen übereinstimmt",
@@ -118,6 +120,10 @@
"description": "Geben Sie Ihren OpenRouter API-Schlüssel ein, um die Sitzung zu starten. Die App speichert Ihren API-Schlüssel nicht.",
"title": "Verwenden Sie einen benutzerdefinierten OpenRouter API-Schlüssel"
},
+ "TogetherAI": {
+ "description": "Geben Sie Ihren TogetherAI API-Schlüssel ein, um die Sitzung zu starten. Die App speichert Ihren API-Schlüssel nicht.",
+ "title": "Verwenden Sie einen benutzerdefinierten TogetherAI API-Schlüssel"
+ },
"Perplexity": {
"description": "Geben Sie Ihren eigenen Perplexity API Key ein, um das Gespräch zu beginnen. Die App speichert Ihren API Key nicht.",
"title": "Verwenden Sie einen benutzerdefinierten Perplexity API Key"
diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.json
index 4349d577bf9b..e28c5879eece 100644
--- a/locales/de-DE/setting.json
+++ b/locales/de-DE/setting.json
@@ -193,6 +193,22 @@
"title": "API-Schlüssel"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Überprüfen Sie, ob die Proxy-Adresse korrekt eingegeben wurde"
+ },
+ "customModelName": {
+ "desc": "Fügen Sie benutzerdefinierte Modelle hinzu. Verwenden Sie zur Angabe mehrerer Modelle ein Komma (,)",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Benutzerdefinierte Modellnamen"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Geben Sie den API-Schlüssel von TogetherAI AI ein",
+ "placeholder": "TogetherAI AI API-Schlüssel",
+ "title": "API-Schlüssel"
+ }
+ },
"Perplexity": {
"title": "perplexity",
"token": {
diff --git a/locales/en-US/common.json b/locales/en-US/common.json
index 20c22a5a1bd5..0c7b7e29c9b8 100644
--- a/locales/en-US/common.json
+++ b/locales/en-US/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01-AI",
"zhipu": "Zhipu AI"
diff --git a/locales/en-US/error.json b/locales/en-US/error.json
index 26dfc1d1cc50..25483c18a9b7 100644
--- a/locales/en-US/error.json
+++ b/locales/en-US/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "The Moonshot AI API Key is incorrect or empty, please check the Moonshot API Key and try again.",
"InvalidOllamaArgs": "Invalid Ollama configuration, please check Ollama configuration and try again",
"InvalidOpenRouterAPIKey": "Invalid or empty OpenRouter API Key. Please check your OpenRouter API Key and try again.",
+ "InvalidTogetherAIAPIKey": "Invalid or empty TogetherAI API Key. Please check your TogetherAI API Key and try again.",
"InvalidPerplexityAPIKey": "Perplexity API Key is incorrect or empty. Please check the Perplexity API Key and retry.",
"InvalidZeroOneAPIKey": "01-AI API Key is incorrect or empty. Please check the 01-AI API Key and retry.",
"InvalidZhipuAPIKey": "Zhipu API Key is incorrect or empty. Please check the Zhipu API Key and retry.",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollama service not detected, please check if it is running properly",
"OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information.",
"OpenRouterBizError": "Error requesting OpenRouter AI service. Please troubleshoot or retry based on the following information.",
+ "TogetherAIBizError": "Error requesting TogetherAI AI service. Please troubleshoot or retry based on the following information.",
"PerplexityBizError": "Error requesting Perplexity AI service. Please troubleshoot or retry based on the following information.",
"PluginApiNotFound": "Sorry, the API does not exist in the plugin's manifest. Please check if your request method matches the plugin manifest API",
"PluginApiParamsError": "Sorry, the input parameter validation for the plugin request failed. Please check if the input parameters match the API description",
@@ -118,6 +120,10 @@
"description": "Enter your OpenRouter API Key to start the session. The application will not store your API Key.",
"title": "Use Custom OpenRouter API Key"
},
+ "TogetherAI": {
+ "description": "Enter your TogetherAI API Key to start the session. The application will not store your API Key.",
+ "title": "Use Custom TogetherAI API Key"
+ },
"Perplexity": {
"description": "Enter your Perplexity API Key to start the session. The app will not store your API Key.",
"title": "Use custom Perplexity API Key"
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index 62df309d59c7..045c4e0bed35 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -193,6 +193,22 @@
"title": "API Key"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Test if the proxy address is filled in correctly"
+ },
+ "customModelName": {
+ "desc": "Add custom model, separate multiple models with comma (,)",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Custom Model Name"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Enter the API Key from TogetherAI AI",
+ "placeholder": "TogetherAI AI API Key",
+ "title": "API Key"
+ }
+ },
"Perplexity": {
"title": "Perplexity AI",
"token": {
diff --git a/locales/es-ES/common.json b/locales/es-ES/common.json
index f738fd72541b..0e9c4368bf78 100644
--- a/locales/es-ES/common.json
+++ b/locales/es-ES/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/es-ES/error.json b/locales/es-ES/error.json
index d653da6283c7..e947cb12abd4 100644
--- a/locales/es-ES/error.json
+++ b/locales/es-ES/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "La clave de API de Moonshot AI no es válida o está vacía. Por favor, revise la clave de API de Moonshot e inténtelo de nuevo.",
"InvalidOllamaArgs": "La configuración de Ollama no es válida, por favor revisa la configuración de Ollama e inténtalo de nuevo",
"InvalidOpenRouterAPIKey": "La clave de API de OpenRouter es incorrecta o está vacía. Por favor, revisa la clave de API de OpenRouter e inténtalo de nuevo",
+ "InvalidTogetherAIAPIKey": "La clave de API de TogetherAI es incorrecta o está vacía. Por favor, revisa la clave de API de TogetherAI e inténtalo de nuevo",
"InvalidPerplexityAPIKey": "La clave de API de Perplexity es inválida o está vacía. Por favor, verifica la clave de API de Perplexity e inténtalo de nuevo",
"InvalidZeroOneAPIKey": "La clave de API de ZeroOneBiz es incorrecta o está vacía. Por favor, revise la clave de API de ZeroOneBiz e inténtelo de nuevo.",
"InvalidZhipuAPIKey": "La clave de API de Zhipu es incorrecta o está vacía, por favor, verifica la clave de API de Zhipu e inténtalo de nuevo",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Servicio Ollama no disponible: Ollama no detectado. Por favor, verifica si está iniciado correctamente.",
"OpenAIBizError": "Error al solicitar el servicio OpenAI. Depure o reintente según la siguiente información",
"OpenRouterBizError": "Error al solicitar el servicio de IA de OpenRouter. Por favor, revisa la siguiente información o inténtalo de nuevo",
+ "TogetherAIBizError": "Error al solicitar el servicio de IA de TogetherAI. Por favor, revisa la siguiente información o inténtalo de nuevo",
"PerplexityBizError": "Error comercial al solicitar el servicio de IA de Perplexity. Por favor, revisa la siguiente información o inténtalo de nuevo",
"PluginApiNotFound": "Lo sentimos, el API especificado no existe en el manifiesto del complemento. Verifique si su método de solicitud coincide con el API del manifiesto del complemento",
"PluginApiParamsError": "Lo sentimos, la validación de los parámetros de entrada de la solicitud del complemento no ha pasado. Verifique si los parámetros de entrada coinciden con la información de descripción del API",
@@ -118,6 +120,10 @@
"description": "Ingresa tu clave de API de OpenRouter para comenzar la sesión. La aplicación no almacenará tu clave de API",
"title": "Usar una clave de API personalizada de OpenRouter"
},
+ "TogetherAI": {
+ "description": "Ingresa tu clave de API de TogetherAI para comenzar la sesión. La aplicación no almacenará tu clave de API",
+ "title": "Usar una clave de API personalizada de TogetherAI"
+ },
"Perplexity": {
"description": "Ingresa tu clave de API de Perplexity para comenzar la sesión. La aplicación no guardará tu clave de API",
"title": "Usar tu propia clave de API de Perplexity"
diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.json
index 9f82881c0958..a6af1f5aae1d 100644
--- a/locales/es-ES/setting.json
+++ b/locales/es-ES/setting.json
@@ -193,6 +193,22 @@
"title": "API Key"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Verifica si la dirección del proxy está correctamente escrita"
+ },
+ "customModelName": {
+ "desc": "Agrega modelos personalizados, separados por comas (,) si son varios",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Nombre del modelo personalizado"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Ingresa la API Key de TogetherAI AI",
+ "placeholder": "API Key de TogetherAI AI",
+ "title": "API Key"
+ }
+ },
"Perplexity": {
"title": "Perplexity AI",
"token": {
diff --git a/locales/fr-FR/common.json b/locales/fr-FR/common.json
index 2f855f5f64b6..759988e3f9e0 100644
--- a/locales/fr-FR/common.json
+++ b/locales/fr-FR/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01. Intelligence Artificielle ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/fr-FR/error.json b/locales/fr-FR/error.json
index beff9f2b30d0..86a11a9393c1 100644
--- a/locales/fr-FR/error.json
+++ b/locales/fr-FR/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Clé API Moonshot AI incorrecte ou manquante. Veuillez vérifier la clé API Moonshot et réessayer.",
"InvalidOllamaArgs": "La configuration d'Ollama n'est pas valide, veuillez vérifier la configuration d'Ollama et réessayer",
"InvalidOpenRouterAPIKey": "La clé d'API OpenRouter est incorrecte ou manquante. Veuillez vérifier la clé d'API OpenRouter et réessayer.",
+ "InvalidTogetherAIAPIKey": "La clé d'API TogetherAI est incorrecte ou manquante. Veuillez vérifier la clé d'API TogetherAI et réessayer.",
"InvalidPerplexityAPIKey": "La clé API Perplexity est incorrecte ou vide. Veuillez vérifier la clé API Perplexity et réessayer.",
"InvalidZeroOneAPIKey": "零一万物 API Key 不正确或为空,请检查零一万物 API Key 后重试",
"InvalidZhipuAPIKey": "Clé API Zhipu incorrecte ou vide, veuillez vérifier la clé API Zhipu et réessayer",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Service Ollama non disponible, veuillez vérifier s'il est démarré correctement",
"OpenAIBizError": "Erreur de service OpenAI. Veuillez diagnostiquer ou réessayer en fonction des informations ci-dessous",
"OpenRouterBizError": "Erreur commerciale lors de la demande de service OpenRouter AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
+ "TogetherAIBizError": "Erreur commerciale lors de la demande de service TogetherAI AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
"PerplexityBizError": "Erreur commerciale lors de la demande de service Perplexity AI. Veuillez vérifier les informations suivantes ou réessayer.",
"PluginApiNotFound": "Désolé, l'API spécifiée n'existe pas dans le manifeste du plugin. Veuillez vérifier que votre méthode de requête correspond à l'API du manifeste du plugin",
"PluginApiParamsError": "Désolé, la validation des paramètres d'entrée de la requête de ce plugin a échoué. Veuillez vérifier que les paramètres d'entrée correspondent aux informations de l'API",
@@ -118,6 +120,10 @@
"description": "Entrez votre clé d'API OpenRouter pour commencer la session. L'application ne stockera pas votre clé d'API.",
"title": "Utiliser une clé d'API OpenRouter personnalisée"
},
+ "TogetherAI": {
+ "description": "Entrez votre clé d'API TogetherAI pour commencer la session. L'application ne stockera pas votre clé d'API.",
+ "title": "Utiliser une clé d'API TogetherAI personnalisée"
+ },
"Perplexity": {
"description": "Entrez votre clé API Perplexity pour commencer la session. L'application ne conservera pas votre clé API.",
"title": "Utiliser une clé API Perplexity personnalisée"
diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.json
index 91fd9c6712c8..9ab7cde5ad1c 100644
--- a/locales/fr-FR/setting.json
+++ b/locales/fr-FR/setting.json
@@ -193,6 +193,22 @@
"title": "Clé API"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Vérifiez si l'adresse du proxy est correctement remplie"
+ },
+ "customModelName": {
+ "desc": "Ajoutez un modèle personnalisé, séparez les modèles multiples par des virgules (,)",
+ "placeholder": "mistralai/mistral-7b-instruct:gratuit,openchat/openchat-7b:gratuit",
+ "title": "Nom du modèle personnalisé"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Entrez la clé API de TogetherAI AI",
+ "placeholder": "Clé API TogetherAI AI",
+ "title": "Clé API"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/it-IT/common.json b/locales/it-IT/common.json
index 3ad338fe3da3..f68ced9339e6 100644
--- a/locales/it-IT/common.json
+++ b/locales/it-IT/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01. Intelligenza Artificiale ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/it-IT/error.json b/locales/it-IT/error.json
index f8b1ca3d09e4..3ec3f173e88b 100644
--- a/locales/it-IT/error.json
+++ b/locales/it-IT/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "La chiave API di Moonshot AI non è corretta o è vuota, si prega di controllare la chiave API di Moonshot e riprovare",
"InvalidOllamaArgs": "Configurazione Ollama non valida, controllare la configurazione di Ollama e riprovare",
"InvalidOpenRouterAPIKey": "La chiave API di OpenRouter non è valida o è vuota. Si prega di controllare la chiave API di OpenRouter e riprovare.",
+ "InvalidTogetherAIAPIKey": "La chiave API di TogetherAI non è valida o è vuota. Si prega di controllare la chiave API di TogetherAI e riprovare.",
"InvalidPerplexityAPIKey": "Chiave API Perplexity non valida o vuota, controlla la chiave API Perplexity e riprova",
"InvalidZeroOneAPIKey": "La chiave API ZeroOne non è corretta o è vuota, si prega di controllare la chiave API ZeroOne e riprovare",
"InvalidZhipuAPIKey": "Chiave API Zhipu non corretta o vuota, controlla la chiave API Zhipu e riprova",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Servizio Ollama non disponibile: controlla se è avviato correttamente",
"OpenAIBizError": "Errore nella richiesta del servizio OpenAI. Segui le informazioni seguenti per individuare e riprovare",
"OpenRouterBizError": "Errore di richiesta del servizio OpenRouter AI. Si prega di controllare le informazioni seguenti o riprovare.",
+ "TogetherAIBizError": "Errore di richiesta del servizio TogetherAI AI. Si prega di controllare le informazioni seguenti o riprovare.",
"PerplexityBizError": "Errore di business nella richiesta del servizio Perplexity AI, controlla le informazioni seguenti o riprova",
"PluginApiNotFound": "Spiacenti, l'API specificata non esiste nel manifesto del plugin. Verifica che il metodo di richiesta corrisponda all'API del manifesto del plugin",
"PluginApiParamsError": "Spiacenti, la convalida dei parametri di input della richiesta del plugin non è riuscita. Verifica che i parametri di input corrispondano alle informazioni dell'API",
@@ -118,6 +120,10 @@
"description": "Inserisci la tua chiave API di OpenRouter per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API.",
"title": "Utilizza la tua chiave API personalizzata di OpenRouter"
},
+ "TogetherAI": {
+ "description": "Inserisci la tua chiave API di TogetherAI per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API.",
+ "title": "Utilizza la tua chiave API personalizzata di TogetherAI"
+ },
"Perplexity": {
"description": "Inserisci la tua chiave API Perplexity per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
"title": "Utilizza la tua chiave API Perplexity personalizzata"
diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.json
index f0be43ed689a..db53de096f69 100644
--- a/locales/it-IT/setting.json
+++ b/locales/it-IT/setting.json
@@ -193,6 +193,22 @@
"title": "Chiave API"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Verifica se l'indirizzo del proxy è stato compilato correttamente"
+ },
+ "customModelName": {
+ "desc": "Aggiungi un modello personalizzato, separando più modelli con virgola (,)",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Nome del modello personalizzato"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Inserisci la chiave API da TogetherAI AI",
+ "placeholder": "Chiave API TogetherAI AI",
+ "title": "Chiave API"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/ja-JP/common.json b/locales/ja-JP/common.json
index 1bdd6e5aaef0..92dea806ae15 100644
--- a/locales/ja-JP/common.json
+++ b/locales/ja-JP/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity AI",
"zeroone": "01.AI ゼロワン万物",
"zhipu": "智譜AI"
diff --git a/locales/ja-JP/error.json b/locales/ja-JP/error.json
index c14b44f52872..cb3d3710b5e3 100644
--- a/locales/ja-JP/error.json
+++ b/locales/ja-JP/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI APIキーが正しくないか空です。Moonshot APIキーを確認して再試行してください。",
"InvalidOllamaArgs": "Ollamaの設定が正しくありません。Ollamaの設定を確認してからもう一度お試しください",
"InvalidOpenRouterAPIKey": "OpenRouter API キーが正しくないか空です。OpenRouter API キーを確認してもう一度お試しください。",
+ "InvalidTogetherAIAPIKey": "TogetherAI API キーが正しくないか空です。TogetherAI API キーを確認してもう一度お試しください。",
"InvalidPerplexityAPIKey": "Perplexity APIキーが正しくないか空です。Perplexity APIキーを確認してもう一度お試しください",
"InvalidZeroOneAPIKey": "ZeroOne APIキーが正しくないか空です。ZeroOne APIキーを確認して再試行してください。",
"InvalidZhipuAPIKey": "Zhipu APIキーが正しくないか空です。Zhipu APIキーを確認してから再試行してください。",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollamaサービスが利用できません。正常に起動しているかどうかを確認してください",
"OpenAIBizError": "OpenAIサービスのリクエストエラーが発生しました。以下の情報に基づいて問題を解決したり、再試行したりしてください",
"OpenRouterBizError": "OpenRouter AI サービスのリクエスト中にエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、もう一度お試しください。",
+ "TogetherAIBizError": "TogetherAI AI サービスのリクエスト中にエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、もう一度お試しください。",
"PerplexityBizError": "Perplexity AIサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングするか、再度お試しください",
"PluginApiNotFound": "申し訳ありませんが、プラグインのマニフェストに指定されたAPIが見つかりませんでした。リクエストメソッドとプラグインのマニフェストのAPIが一致しているかどうかを確認してください",
"PluginApiParamsError": "申し訳ありませんが、プラグインのリクエストパラメータの検証に失敗しました。パラメータとAPIの説明が一致しているかどうか確認してください",
@@ -118,6 +120,10 @@
"description": "OpenRouter API キーを入力するとセッションが開始されます。アプリは API キーを記録しません。",
"title": "カスタム OpenRouter API キーを使用する"
},
+ "TogetherAI": {
+ "description": "TogetherAI API キーを入力するとセッションが開始されます。アプリは API キーを記録しません。",
+ "title": "カスタム TogetherAI API キーを使用する"
+ },
"Perplexity": {
"description": "Perplexity APIキーを入力して会話を開始します。アプリはAPIキーを記録しません",
"title": "カスタムPerplexity APIキーを使用"
diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.json
index 1aeb9185c0ca..ca930a76526e 100644
--- a/locales/ja-JP/setting.json
+++ b/locales/ja-JP/setting.json
@@ -193,6 +193,22 @@
"title": "APIキー"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "プロキシアドレスが正しく入力されているかをテストします"
+ },
+ "customModelName": {
+ "desc": "カスタムモデルを追加します。複数のモデルはコンマ(,)で区切ってください",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "カスタムモデル名"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "TogetherAI AIから取得したAPIキーを入力してください",
+ "placeholder": "TogetherAI AI APIキー",
+ "title": "APIキー"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/ko-KR/common.json b/locales/ko-KR/common.json
index bd9a07224b91..6a0dbc642e09 100644
--- a/locales/ko-KR/common.json
+++ b/locales/ko-KR/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "오픈 라우터",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI 제로원",
"zhipu": "지푸 AI"
diff --git a/locales/ko-KR/error.json b/locales/ko-KR/error.json
index 137b19e5c9ef..6d39df830b6f 100644
--- a/locales/ko-KR/error.json
+++ b/locales/ko-KR/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI API 키가 잘못되었거나 비어 있습니다. Moonshot API 키를 확인한 후 다시 시도해주세요.",
"InvalidOllamaArgs": "Ollama 구성이 잘못되었습니다. Ollama 구성을 확인한 후 다시 시도하십시오.",
"InvalidOpenRouterAPIKey": "OpenRouter API 키가 잘못되었거나 비어 있습니다. OpenRouter API 키를 확인한 후 다시 시도하십시오.",
+ "InvalidTogetherAIAPIKey": "TogetherAI API 키가 잘못되었거나 비어 있습니다. TogetherAI API 키를 확인한 후 다시 시도하십시오.",
"InvalidPerplexityAPIKey": "Perplexity API 키가 잘못되었거나 비어 있습니다. Perplexity API 키를 확인한 후 다시 시도하십시오.",
"InvalidZeroOneAPIKey": "잘못된 또는 빈 제로원물 API 키입니다. 제로원물 API 키를 확인하고 다시 시도해주세요.",
"InvalidZhipuAPIKey": "잘못된 또는 비어 있는 Zhipu API Key입니다. Zhipu API Key를 확인한 후 다시 시도하십시오.",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollama 서비스를 찾을 수 없습니다. 정상적으로 시작되었는지 확인하십시오.",
"OpenAIBizError": "OpenAI 서비스 요청 중 오류가 발생했습니다. 아래 정보를 확인하고 문제를 해결하거나 다시 시도해주세요.",
"OpenRouterBizError": "OpenRouter AI 서비스 요청 중 오류가 발생했습니다. 다음 정보를 확인하고 다시 시도하십시오.",
+ "TogetherAIBizError": "TogetherAI AI 서비스 요청 중 오류가 발생했습니다. 다음 정보를 확인하고 다시 시도하십시오.",
"PerplexityBizError": "Perplexity AI 서비스 요청 중 오류가 발생했습니다. 아래 정보를 확인하고 다시 시도하십시오.",
"PluginApiNotFound": "죄송합니다. 플러그인 설명서에 해당 API가 없습니다. 요청 메서드와 플러그인 설명서 API가 일치하는지 확인해주세요.",
"PluginApiParamsError": "죄송합니다. 플러그인 요청의 입력 매개변수 유효성 검사에 실패했습니다. 입력 매개변수와 API 설명 정보가 일치하는지 확인해주세요.",
diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.json
index 0604fd83ec83..4bbd8de56c9e 100644
--- a/locales/ko-KR/setting.json
+++ b/locales/ko-KR/setting.json
@@ -193,6 +193,22 @@
"title": "API 키"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "프록시 주소가 올바르게 입력되었는지 확인합니다."
+ },
+ "customModelName": {
+ "desc": "사용자 정의 모델을 추가하고, 여러 모델은 쉼표(,)로 구분합니다",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "사용자 정의 모델 이름"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "TogetherAI AI에서 받은 API 키를 입력합니다.",
+ "placeholder": "TogetherAI AI API 키",
+ "title": "API 키"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/nl-NL/common.json b/locales/nl-NL/common.json
index 135ac117069a..a16a595b69f6 100644
--- a/locales/nl-NL/common.json
+++ b/locales/nl-NL/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/nl-NL/error.json b/locales/nl-NL/error.json
index 6ea5841babe0..8dff69f9cefd 100644
--- a/locales/nl-NL/error.json
+++ b/locales/nl-NL/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI API密钥不正确或为空,请检查Moonshot API密钥后重试",
"InvalidOllamaArgs": "Ollama-configuratie is onjuist, controleer de Ollama-configuratie en probeer het opnieuw",
"InvalidOpenRouterAPIKey": "OpenRouter API Key is onjuist of leeg. Controleer de OpenRouter API Key en probeer het opnieuw.",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Key is onjuist of leeg. Controleer de TogetherAI API Key en probeer het opnieuw.",
"InvalidPerplexityAPIKey": "Perplexity API Key is onjuist of leeg. Controleer de Perplexity API Key en probeer het opnieuw.",
"InvalidZeroOneAPIKey": "零一万物 API Key 不正确或为空,请检查零一万物 API Key 后重试",
"InvalidZhipuAPIKey": "Incorrect or empty Zhipu API Key, please check the Zhipu API Key and retry",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollama 服务不可用,请检查是否已正常启动",
"OpenAIBizError": "Fout bij het aanvragen van OpenAI-service. Controleer de onderstaande informatie voor probleemoplossing of probeer opnieuw",
"OpenRouterBizError": "Fout bij het aanvragen van OpenRouter AI-service. Controleer de onderstaande informatie en probeer opnieuw.",
+ "TogetherAIBizError": "Fout bij het aanvragen van TogetherAI AI-service. Controleer de onderstaande informatie en probeer opnieuw.",
"PerplexityBizError": "Er is een fout opgetreden bij het aanvragen van de Perplexity AI-service. Controleer de onderstaande informatie en probeer het opnieuw.",
"PluginApiNotFound": "Sorry, de API van de plug-inbeschrijvingslijst bestaat niet. Controleer of uw verzoeksmethode overeenkomt met de plug-inbeschrijvingslijst API",
"PluginApiParamsError": "Sorry, de validatie van de invoerparameters van de plug-in is mislukt. Controleer of de invoerparameters overeenkomen met de API-beschrijving",
@@ -118,6 +120,10 @@
"description": "Voer uw OpenRouter API Key in om de sessie te starten. De app zal uw API Key niet opslaan.",
"title": "Gebruik aangepaste OpenRouter API Key"
},
+ "TogetherAI": {
+ "description": "Voer uw TogetherAI API Key in om de sessie te starten. De app zal uw API Key niet opslaan.",
+ "title": "Gebruik aangepaste TogetherAI API Key"
+ },
"Perplexity": {
"description": "Voer uw eigen Perplexity API Key in om het gesprek te starten. De app zal uw API Key niet opslaan.",
"title": "Gebruik een aangepaste Perplexity API Key"
diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.json
index cc4b46b429b1..df53b8c9537a 100644
--- a/locales/nl-NL/setting.json
+++ b/locales/nl-NL/setting.json
@@ -193,6 +193,22 @@
"title": "API-sleutel"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Check of de proxy-adres correct is ingevuld"
+ },
+ "customModelName": {
+ "desc": "Voeg aangepast model toe, gebruik een komma (,) om meerdere modellen te scheiden",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Aangepaste modelnaam"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Voer de API-sleutel in van TogetherAI AI",
+ "placeholder": "TogetherAI AI API-sleutel",
+ "title": "API-sleutel"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/pl-PL/common.json b/locales/pl-PL/common.json
index c66fa7878e60..0344ba8825e4 100644
--- a/locales/pl-PL/common.json
+++ b/locales/pl-PL/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01. Sztuczna inteligencja ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/pl-PL/error.json b/locales/pl-PL/error.json
index 0ecaacd145fa..1d47522f532f 100644
--- a/locales/pl-PL/error.json
+++ b/locales/pl-PL/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI API密钥不正确或为空,请检查Moonshot API密钥后重试",
"InvalidOllamaArgs": "Nieprawidłowa konfiguracja Ollama, sprawdź konfigurację Ollama i spróbuj ponownie",
"InvalidOpenRouterAPIKey": "OpenRouter API Key jest nieprawidłowy lub pusty. Sprawdź klucz API OpenRouter i spróbuj ponownie.",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Key jest nieprawidłowy lub pusty. Sprawdź klucz API TogetherAI i spróbuj ponownie.",
"InvalidPerplexityAPIKey": "Klucz API Perplexity jest nieprawidłowy lub pusty. Sprawdź klucz API Perplexity i spróbuj ponownie.",
"InvalidZeroOneAPIKey": "零一万物 API Key 不正确或为空,请检查零一万物 API Key 后重试",
"InvalidZhipuAPIKey": "Nieprawidłowy lub pusty klucz API Zhipu, prosimy sprawdzić klucz API Zhipu i spróbować ponownie.",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Usługa Ollama jest niedostępna. Sprawdź, czy została poprawnie uruchomiona.",
"OpenAIBizError": "Błąd żądania usługi OpenAI. Proszę sprawdź poniższe informacje i spróbuj ponownie",
"OpenRouterBizError": "Wystąpił błąd biznesowy podczas żądania usługi OpenRouter AI. Sprawdź poniższe informacje lub spróbuj ponownie.",
+ "TogetherAIBizError": "Wystąpił błąd biznesowy podczas żądania usługi TogetherAI AI. Sprawdź poniższe informacje lub spróbuj ponownie.",
"PerplexityBizError": "Błąd biznesowy podczas żądania usługi Perplexity AI. Sprawdź poniższe informacje lub spróbuj ponownie.",
"PluginApiNotFound": "Przepraszamy, w manifestach wtyczki nie istnieje to API. Proszę sprawdź, czy metoda żądania jest zgodna z API w manifestach wtyczki",
"PluginApiParamsError": "Przepraszamy, walidacja parametrów wejściowych żądanej wtyczki nie powiodła się. Proszę sprawdź, czy parametry wejściowe są zgodne z informacjami opisującymi API",
@@ -118,6 +120,10 @@
"description": "Wprowadź swój klucz API OpenRouter, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
"title": "Użyj niestandardowego klucza API OpenRouter"
},
+ "TogetherAI": {
+ "description": "Wprowadź swój klucz API TogetherAI, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
+ "title": "Użyj niestandardowego klucza API TogetherAI"
+ },
"Perplexity": {
"description": "Wprowadź swój klucz API Perplexity, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
"title": "Użyj niestandardowego klucza API Perplexity"
diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.json
index 181fa9ecb64d..984a864f6a0b 100644
--- a/locales/pl-PL/setting.json
+++ b/locales/pl-PL/setting.json
@@ -179,18 +179,34 @@
},
"OpenRouter": {
"checker": {
- "desc": "测试代理地址是否正确填写"
+ "desc": "Sprawdź, czy adres proxy jest poprawnie wypełniony"
},
"customModelName": {
- "desc": "增加自定义模型,多个模型使用逗号(,)隔开",
- "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
- "title": "自定义模型名称"
+ "desc": "Dodaj niestandardowe modele, oddzielając je przecinkami (,)",
+ "placeholder": "model1,model2,model3",
+ "title": "Nazwa niestandardowego modelu"
},
"title": "OpenRouter",
"token": {
- "desc": "填入来自 OpenRouter AI 的 API Key",
- "placeholder": "OpenRouter AI API Key",
- "title": "API Key"
+ "desc": "Użyj własnego klucza API OpenRouter",
+ "placeholder": "Klucz API OpenRouter",
+ "title": "Klucz API"
+ }
+ },
+ "TogetherAI": {
+ "checker": {
+ "desc": "Sprawdź, czy adres proxy jest poprawnie wypełniony"
+ },
+ "customModelName": {
+ "desc": "Dodaj niestandardowe modele, oddzielając je przecinkami (,)",
+ "placeholder": "model1,model2,model3",
+ "title": "Nazwa niestandardowego modelu"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Użyj własnego klucza API TogetherAI",
+ "placeholder": "Klucz API TogetherAI",
+ "title": "Klucz API"
}
},
"Perplexity": {
diff --git a/locales/pt-BR/common.json b/locales/pt-BR/common.json
index d1b940bf579d..b04c4a8e782b 100644
--- a/locales/pt-BR/common.json
+++ b/locales/pt-BR/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01. IA ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/pt-BR/error.json b/locales/pt-BR/error.json
index 23d49cf03ca2..faba94a7aba2 100644
--- a/locales/pt-BR/error.json
+++ b/locales/pt-BR/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "A chave da API Moonshot AI está incorreta ou vazia. Por favor, verifique a chave da API Moonshot e tente novamente.",
"InvalidOllamaArgs": "Configuração Ollama inválida, verifique a configuração do Ollama e tente novamente",
"InvalidOpenRouterAPIKey": "Chave da API do OpenRouter inválida ou em branco. Por favor, verifique a chave da API do OpenRouter e tente novamente.",
+ "InvalidTogetherAIAPIKey": "Chave da API do TogetherAI inválida ou em branco. Por favor, verifique a chave da API do TogetherAI e tente novamente.",
"InvalidPerplexityAPIKey": "Chave da API Perplexity inválida ou em branco, verifique a chave da API Perplexity e tente novamente",
"InvalidZeroOneAPIKey": "Chave de API ZeroOne inválida ou vazia, verifique a chave de API ZeroOne e tente novamente",
"InvalidZhipuAPIKey": "Chave de API Zhipu incorreta ou vazia, por favor, verifique a chave de API Zhipu e tente novamente",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "O serviço Ollama não está disponível, verifique se está iniciado corretamente",
"OpenAIBizError": "Erro ao solicitar o serviço OpenAI. Verifique ou tente novamente com base nas informações abaixo",
"OpenRouterBizError": "Erro de negócios ao solicitar o serviço de IA do OpenRouter. Por favor, verifique as informações abaixo ou tente novamente.",
+ "TogetherAIBizError": "Erro de negócios ao solicitar o serviço de IA do TogetherAI. Por favor, verifique as informações abaixo ou tente novamente.",
"PerplexityBizError": "Erro de negócios ao solicitar o serviço de IA Perplexity, verifique as informações a seguir ou tente novamente",
"PluginApiNotFound": "Desculpe, o API especificado não existe no manifesto do plugin. Verifique se o método de solicitação corresponde ao API do manifesto do plugin",
"PluginApiParamsError": "Desculpe, a validação dos parâmetros de entrada da solicitação do plugin falhou. Verifique se os parâmetros de entrada correspondem às informações de descrição do API",
@@ -118,6 +120,10 @@
"description": "Insira sua chave da API do OpenRouter para iniciar a sessão. O aplicativo não irá armazenar sua chave da API.",
"title": "Usar chave da API do OpenRouter personalizada"
},
+ "TogetherAI": {
+ "description": "Insira sua chave da API do TogetherAI para iniciar a sessão. O aplicativo não irá armazenar sua chave da API.",
+ "title": "Usar chave da API do TogetherAI personalizada"
+ },
"Perplexity": {
"description": "Insira sua chave da API Perplexity para iniciar a sessão. O aplicativo não irá armazenar sua chave da API",
"title": "Usar chave da API Perplexity personalizada"
diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.json
index 81548938d84f..49f5611e7adf 100644
--- a/locales/pt-BR/setting.json
+++ b/locales/pt-BR/setting.json
@@ -193,6 +193,22 @@
"title": "Chave da API"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Verifique se o endereço do proxy está preenchido corretamente"
+ },
+ "customModelName": {
+ "desc": "Adicione modelos personalizados, separando vários modelos com vírgula (,)",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Nome do Modelo Personalizado"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Insira a chave da API do TogetherAI AI",
+ "placeholder": "Chave da API do TogetherAI AI",
+ "title": "Chave da API"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/ru-RU/common.json b/locales/ru-RU/common.json
index cc82fa2c4248..28a732bf2b9c 100644
--- a/locales/ru-RU/common.json
+++ b/locales/ru-RU/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity AI",
"zeroone": "01. ИИ ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/ru-RU/error.json b/locales/ru-RU/error.json
index 733a00e8d778..875345ce7a51 100644
--- a/locales/ru-RU/error.json
+++ b/locales/ru-RU/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI API Key неверный или пустой, пожалуйста, проверьте ключ API Moonshot и повторите попытку",
"InvalidOllamaArgs": "Неверная конфигурация Ollama, пожалуйста, проверьте конфигурацию Ollama и повторите попытку",
"InvalidOpenRouterAPIKey": "OpenRouter API Key недействителен или отсутствует. Пожалуйста, проверьте правильность OpenRouter API Key и повторите попытку",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Key недействителен или отсутствует. Пожалуйста, проверьте правильность TogetherAI API Key и повторите попытку",
"InvalidPerplexityAPIKey": "Неверный или пустой ключ API Perplexity. Пожалуйста, проверьте ключ API Perplexity и повторите попытку",
"InvalidZeroOneAPIKey": "Неверный или пустой ключ API ZeroOne. Пожалуйста, проверьте ключ API ZeroOne и повторите попытку",
"InvalidZhipuAPIKey": "Неверный или пустой ключ API Zhipu, пожалуйста, проверьте ключ API Zhipu и повторите попытку",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Сервис Ollama недоступен. Пожалуйста, проверьте, запущен ли он корректно.",
"OpenAIBizError": "Ошибка запроса службы OpenAI. Устраните неполадку или повторите попытку, основываясь на следующей информации.",
"OpenRouterBizError": "Ошибка запроса к сервису OpenRouter AI. Пожалуйста, проверьте информацию ниже или повторите попытку",
+ "TogetherAIBizError": "Ошибка запроса к сервису TogetherAI AI. Пожалуйста, проверьте информацию ниже или повторите попытку",
"PerplexityBizError": "Ошибка обращения к сервису Perplexity AI. Пожалуйста, проверьте информацию ниже или повторите попытку",
"PluginApiNotFound": "К сожалению, API не существует в манифесте плагина. Пожалуйста, проверьте, соответствует ли ваш метод запроса API манифеста плагина",
"PluginApiParamsError": "К сожалению, проверка входных параметров для запроса плагина не удалась. Пожалуйста, проверьте, соответствуют ли входные параметры описанию API",
@@ -118,6 +120,10 @@
"description": "Введите свой ключ API OpenRouter, чтобы начать сеанс. Приложение не будет сохранять ваш ключ API",
"title": "Использование собственного ключа API OpenRouter"
},
+ "TogetherAI": {
+ "description": "Введите свой ключ API TogetherAI, чтобы начать сеанс. Приложение не будет сохранять ваш ключ API",
+ "title": "Использование собственного ключа API TogetherAI"
+ },
"Perplexity": {
"description": "Введите свой ключ API Perplexity, чтобы начать сеанс. Приложение не будет сохранять ваш ключ API",
"title": "Использовать пользовательский ключ API Perplexity"
diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.json
index 3fdd01ab5c23..a8b283461deb 100644
--- a/locales/ru-RU/setting.json
+++ b/locales/ru-RU/setting.json
@@ -193,6 +193,22 @@
"title": "API-ключ"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Проверьте правильность заполнения адреса прокси"
+ },
+ "customModelName": {
+ "desc": "Добавьте пользовательскую модель, используя запятую (,) для разделения нескольких моделей",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Имя пользовательской модели"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Введите API-ключ от TogetherAI AI",
+ "placeholder": "Ключ API TogetherAI AI",
+ "title": "API-ключ"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/tr-TR/common.json b/locales/tr-TR/common.json
index ddd4afb73439..99c62f834812 100644
--- a/locales/tr-TR/common.json
+++ b/locales/tr-TR/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "AçıkYönlendirici",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI SıfırBir",
"zhipu": "Zhipu AI"
diff --git a/locales/tr-TR/error.json b/locales/tr-TR/error.json
index bc2397acbc58..84f6d380fda5 100644
--- a/locales/tr-TR/error.json
+++ b/locales/tr-TR/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Geçersiz veya boş Moonshot AI API Anahtarı, lütfen Moonshot API Anahtarınızı kontrol edip tekrar deneyin",
"InvalidOllamaArgs": "Ollama yapılandırması yanlış, lütfen Ollama yapılandırmasını kontrol edip tekrar deneyin",
"InvalidOpenRouterAPIKey": "OpenRouter API Anahtarı geçersiz veya boş, lütfen OpenRouter API Anahtarınızı kontrol edip tekrar deneyin",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Anahtarı geçersiz veya boş, lütfen TogetherAI API Anahtarınızı kontrol edip tekrar deneyin",
"InvalidPerplexityAPIKey": "Perplexity API Key geçersiz veya boş, lütfen Perplexity API Key'inizi kontrol edip tekrar deneyin",
"InvalidZeroOneAPIKey": "SıfırBirIoT API Anahtarı geçersiz veya boş. Lütfen SıfırBirIoT API Anahtarınızı kontrol edip tekrar deneyin",
"InvalidZhipuAPIKey": "Zhipu API Anahtarı yanlış veya boş, lütfen Zhipu API Anahtarınızı kontrol edip tekrar deneyin",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Ollama 服务不可用,请检查是否已正常启动",
"OpenAIBizError": "OpenAI hizmeti talep ederken hata oluştu. Aşağıdaki bilgilere dayanarak sorun giderin veya tekrar deneyin.",
"OpenRouterBizError": "OpenRouter AI hizmetine yönelik istek hatası, lütfen aşağıdaki bilgilere göre sorunu gidermeye çalışın veya tekrar deneyin",
+ "TogetherAIBizError": "TogetherAI AI hizmetine yönelik istek hatası, lütfen aşağıdaki bilgilere göre sorunu gidermeye çalışın veya tekrar deneyin",
"PerplexityBizError": "Perplexity AI hizmetine yapılan istekte hata oluştu, lütfen aşağıdaki bilgilere göre sorunu gidermeye çalışın veya tekrar deneyin",
"PluginApiNotFound": "Üzgünüm, eklentinin bildiriminde API mevcut değil. Lütfen istek yönteminizin eklenti bildirim API'sı ile eşleşip eşleşmediğini kontrol edin",
"PluginApiParamsError": "Üzgünüm, eklenti isteği için giriş parametre doğrulaması başarısız oldu. Lütfen giriş parametrelerinin API açıklamasıyla eşleşip eşleşmediğini kontrol edin",
@@ -118,6 +120,10 @@
"description": "Oturuma başlamak için OpenRouter API Anahtarınızı girin. Uygulama API Anahtarınızı kaydetmez",
"title": "Özel OpenRouter API Anahtarını Kullan"
},
+ "TogetherAI": {
+ "description": "Oturuma başlamak için TogetherAI API Anahtarınızı girin. Uygulama API Anahtarınızı kaydetmez",
+ "title": "Özel TogetherAI API Anahtarını Kullan"
+ },
"Perplexity": {
"description": "Sohbeti başlatmak için Perplexity API Key'inizi girin. Uygulama API Key'inizi kaydetmez",
"title": "Özel Perplexity API Key'i Kullan"
diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.json
index 994daf07a08d..bfb7cb6a9e02 100644
--- a/locales/tr-TR/setting.json
+++ b/locales/tr-TR/setting.json
@@ -179,18 +179,34 @@
},
"OpenRouter": {
"checker": {
- "desc": "测试代理地址是否正确填写"
+ "desc": "Proxy adresinin doğru şekilde doldurulup doldurulmadığını test edin"
},
"customModelName": {
- "desc": "增加自定义模型,多个模型使用逗号(,)隔开",
- "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
- "title": "自定义模型名称"
+ "desc": "Özel modeller ekleyin, birden fazla modeli virgülle (,) ayırarak yazın",
+ "placeholder": "model1,model2,model3",
+ "title": "Özel Model Adı"
},
"title": "OpenRouter",
"token": {
- "desc": "填入来自 OpenRouter AI 的 API Key",
- "placeholder": "OpenRouter AI API Key",
- "title": "API Key"
+ "desc": "OpenRouter AI'dan gelen API Anahtarı'nı girin",
+ "placeholder": "OpenRouter AI API Anahtarı",
+ "title": "API Anahtarı"
+ }
+ },
+ "TogetherAI": {
+ "checker": {
+ "desc": "Proxy adresinin doğru şekilde doldurulup doldurulmadığını test edin"
+ },
+ "customModelName": {
+ "desc": "Özel modeller ekleyin, birden fazla modeli virgülle (,) ayırarak yazın",
+ "placeholder": "model1,model2,model3",
+ "title": "Özel Model Adı"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "TogetherAI AI'dan gelen API Anahtarı'nı girin",
+ "placeholder": "TogetherAI AI API Anahtarı",
+ "title": "API Anahtarı"
}
},
"Perplexity": {
diff --git a/locales/vi-VN/common.json b/locales/vi-VN/common.json
index 73fd46424be0..cbc807f6ead1 100644
--- a/locales/vi-VN/common.json
+++ b/locales/vi-VN/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity AI",
"zeroone": "01.AI ZeroOne",
"zhipu": "Zhipu AI"
diff --git a/locales/vi-VN/error.json b/locales/vi-VN/error.json
index 3d3be5c6bfe4..e4c8c985374e 100644
--- a/locales/vi-VN/error.json
+++ b/locales/vi-VN/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Khóa API Moonshot AI không hợp lệ hoặc trống, vui lòng kiểm tra lại Khóa API Moonshot và thử lại",
"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",
"InvalidOpenRouterAPIKey": "OpenRouter API Key không hợp lệ hoặc trống, vui lòng kiểm tra lại và thử lại",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Key không hợp lệ hoặc trống, vui lòng kiểm tra lại và thử lại",
"InvalidPerplexityAPIKey": "Khóa API Perplexity không hợp lệ hoặc trống, vui lòng kiểm tra lại và thử lại sau",
"InvalidZeroOneAPIKey": "Khóa API ZeroOne không hợp lệ hoặc trống, vui lòng kiểm tra lại khóa API ZeroOne và thử lại",
"InvalidZhipuAPIKey": "Khóa API Zhipu không chính xác hoặc trống, vui lòng kiểm tra lại Khóa API Zhipu và thử lại",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "Dịch vụ Ollama không khả dụng, vui lòng kiểm tra xem nó đã được khởi động chưa",
"OpenAIBizError": "Yêu cầu dịch vụ OpenAI gặp lỗi, vui lòng xác minh hoặc thử lại dựa trên thông tin dưới đây",
"OpenRouterBizError": "Yêu cầu dịch vụ OpenRouter AI gặp lỗi, vui lòng kiểm tra thông tin dưới đây hoặc thử lại",
+ "TogetherAIBizError": "Yêu cầu dịch vụ TogetherAI AI gặp lỗi, vui lòng kiểm tra thông tin dưới đây hoặc thử lại",
"PerplexityBizError": "Yêu cầu dịch vụ AI Perplexity gặp lỗi, vui lòng kiểm tra thông tin dưới đây hoặc thử lại sau",
"PluginApiNotFound": "Xin lỗi, không có API nào trong tệp mô tả plugin, vui lòng kiểm tra phương thức yêu cầu của bạn có khớp với API mô tả plugin không",
"PluginApiParamsError": "Xin lỗi, kiểm tra tham số đầu vào yêu cầu của plugin không thông qua, vui lòng kiểm tra tham số đầu vào có khớp với thông tin mô tả API không",
@@ -118,6 +120,10 @@
"description": "Nhập OpenRouter API Key của bạn để bắt đầu phiên làm việc. Ứng dụng sẽ không lưu trữ API Key của bạn",
"title": "Sử dụng OpenRouter API Key tùy chỉnh"
},
+ "TogetherAI": {
+ "description": "Nhập TogetherAI API Key của bạn để bắt đầu phiên làm việc. Ứng dụng sẽ không lưu trữ API Key của bạn",
+ "title": "Sử dụng TogetherAI API Key tùy chỉnh"
+ },
"Perplexity": {
"description": "Nhập Khóa API Perplexity của bạn để bắt đầu phiên làm việc. Ứng dụng sẽ không ghi lại Khóa API của bạn",
"title": "Sử dụng Khóa API Perplexity tùy chỉnh"
diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.json
index 4b1c6d71948a..cba139f516ec 100644
--- a/locales/vi-VN/setting.json
+++ b/locales/vi-VN/setting.json
@@ -193,6 +193,22 @@
"title": "API Key"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "Kiểm tra xem địa chỉ proxy đã được điền đúng chưa"
+ },
+ "customModelName": {
+ "desc": "Thêm tên mô hình tùy chỉnh, nhiều mô hình sử dụng dấu phẩy (,) để ngăn cách",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "Tên mô hình tùy chỉnh"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "Nhập API Key từ TogetherAI AI",
+ "placeholder": "TogetherAI AI API Key",
+ "title": "API Key"
+ }
+ },
"Perplexity": {
"title": "Perplexity AI",
"token": {
diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.json
index 262d07c76954..7bb2347dc472 100644
--- a/locales/zh-CN/common.json
+++ b/locales/zh-CN/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity",
"zeroone": "01.AI 零一万物",
"zhipu": "智谱AI"
diff --git a/locales/zh-CN/error.json b/locales/zh-CN/error.json
index 3644e268d8c2..e6f23bd81970 100644
--- a/locales/zh-CN/error.json
+++ b/locales/zh-CN/error.json
@@ -69,6 +69,8 @@
"GroqBizError": "请求 Groq 服务出错,请根据以下信息排查或重试",
"InvalidOpenRouterAPIKey": "OpenRouter API Key 不正确或为空,请检查 OpenRouter API Key 后重试",
"OpenRouterBizError": "请求 OpenRouter AI 服务出错,请根据以下信息排查或重试",
+ "TogetherAIBizError": "请求 TogetherAI AI 服务出错,请根据以下信息排查或重试",
+ "InvalidTogetherAIAPIKey": "TogetherAI API Key 不正确或为空,请检查 TogetherAI API Key 后重试",
"ZeroOneBizError": "请求零一万物服务出错,请根据以下信息排查或重试",
"InvalidZeroOneAPIKey": "零一万物 API Key 不正确或为空,请检查零一万物 API Key 后重试",
"InvalidOllamaArgs": "Ollama 配置不正确,请检查 Ollama 配置后重试",
@@ -118,6 +120,10 @@
"description": "输入你的 OpenRouter API Key 即可开始会话。应用不会记录你的 API Key",
"title": "使用自定义 OpenRouter API Key"
},
+ "TogetherAI": {
+ "description": "输入你的 TogetherAI API Key 即可开始会话。应用不会记录你的 API Key",
+ "title": "使用自定义 TogetherAI API Key"
+ },
"Perplexity": {
"description": "输入你的 Perplexity API Key 即可开始会话。应用不会记录你的 API Key",
"title": "使用自定义 Perplexity API Key"
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 29678a07c18e..f6e55c0a0164 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -193,6 +193,22 @@
"title": "API Key"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "测试代理地址是否正确填写"
+ },
+ "customModelName": {
+ "desc": "增加自定义模型,多个模型使用逗号(,)隔开",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "自定义模型名称"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "填入来自 TogetherAI AI 的 API Key",
+ "placeholder": "TogetherAI AI API Key",
+ "title": "API Key"
+ }
+ },
"Perplexity": {
"title": "Perplexity",
"token": {
diff --git a/locales/zh-TW/common.json b/locales/zh-TW/common.json
index 0ebcac93b1cc..224508a85a0f 100644
--- a/locales/zh-TW/common.json
+++ b/locales/zh-TW/common.json
@@ -107,6 +107,7 @@
"oneapi": "One API",
"openai": "OpenAI",
"openrouter": "OpenRouter",
+ "togetherai": "TogetherAI",
"perplexity": "Perplexity AI",
"zeroone": "01.AI 零一萬物",
"zhipu": "智譜AI"
diff --git a/locales/zh-TW/error.json b/locales/zh-TW/error.json
index c1a860073223..682762d292e0 100644
--- a/locales/zh-TW/error.json
+++ b/locales/zh-TW/error.json
@@ -49,6 +49,7 @@
"InvalidMoonshotAPIKey": "Moonshot AI API 金鑰不正確或為空,請檢查 Moonshot API 金鑰後重試",
"InvalidOllamaArgs": "Ollama 配置不正確,請檢查 Ollama 配置後重試",
"InvalidOpenRouterAPIKey": "OpenRouter API 金鑰不正確或為空,請檢查 OpenRouter API 金鑰後重試",
+ "InvalidTogetherAIAPIKey": "TogetherAI API 金鑰不正確或為空,請檢查 TogetherAI API 金鑰後重試",
"InvalidPerplexityAPIKey": "Perplexity API Key 不正確或為空,請檢查 Perplexity API Key 後重試",
"InvalidZeroOneAPIKey": "零一萬物 API Key 不正確或為空,請檢查零一萬物 API Key 後重試",
"InvalidZhipuAPIKey": "Zhipu API Key 不正確或為空,請檢查 Zhipu API Key 後重試",
@@ -60,6 +61,7 @@
"OllamaServiceUnavailable": "未偵測到 Ollama 服務,請檢查是否正常啟動",
"OpenAIBizError": "請求 OpenAI 服務出錯。請根據以下資訊進行排查或重試。",
"OpenRouterBizError": "請求 OpenRouter AI 服務出錯,請根據以下信息排查或重試",
+ "TogetherAIBizError": "請求 TogetherAI AI 服務出錯,請根據以下信息排查或重試",
"PerplexityBizError": "請求 Perplexity AI 服務出錯,請根據以下信息排查或重試",
"PluginApiNotFound": "抱歉,外掛描述檔案中不存在該 API。請檢查您的請求方法與外掛清單 API 是否相符",
"PluginApiParamsError": "抱歉,該外掛請求的輸入參數驗證失敗。請檢查輸入參數與 API 描述資訊是否相符",
@@ -118,6 +120,10 @@
"description": "輸入你的 OpenRouter API 金鑰即可開始會話。應用不會記錄你的 API 金鑰",
"title": "使用自定義 OpenRouter API 金鑰"
},
+ "TogetherAI": {
+ "description": "輸入你的 TogetherAI API 金鑰即可開始會話。應用不會記錄你的 API 金鑰",
+ "title": "使用自定義 TogetherAI API 金鑰"
+ },
"Perplexity": {
"description": "輸入你的 Perplexity API Key 即可開始會話。應用不會記錄你的 API Key",
"title": "使用自定義 Perplexity API Key"
diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.json
index d5d3857abca7..9f2801bad474 100644
--- a/locales/zh-TW/setting.json
+++ b/locales/zh-TW/setting.json
@@ -193,6 +193,22 @@
"title": "API 金鑰"
}
},
+ "TogetherAI": {
+ "checker": {
+ "desc": "測試代理地址是否正確填寫"
+ },
+ "customModelName": {
+ "desc": "增加自定義模型,多個模型使用逗號(,)隔開",
+ "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
+ "title": "自定義模型名稱"
+ },
+ "title": "TogetherAI",
+ "token": {
+ "desc": "填入來自 TogetherAI AI 的 API 金鑰",
+ "placeholder": "TogetherAI AI API 金鑰",
+ "title": "API 金鑰"
+ }
+ },
"Perplexity": {
"title": "Perplexity AI",
"token": {
diff --git a/package.json b/package.json
index 66799ee93a24..866825a53460 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@lobehub/chat",
- "version": "0.144.1",
+ "version": "0.145.0",
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
"keywords": [
"framework",
diff --git a/src/app/api/chat/[provider]/agentRuntime.test.ts b/src/app/api/chat/[provider]/agentRuntime.test.ts
index 851a3ca6f8e2..e2b182659fe0 100644
--- a/src/app/api/chat/[provider]/agentRuntime.test.ts
+++ b/src/app/api/chat/[provider]/agentRuntime.test.ts
@@ -18,6 +18,7 @@ import {
LobeOpenAI,
LobeOpenRouterAI,
LobePerplexityAI,
+ LobeTogetherAI,
LobeZhipuAI,
ModelProvider,
} from '@/libs/agent-runtime';
@@ -44,6 +45,7 @@ vi.mock('@/config/server', () => ({
ANTHROPIC_API_KEY: 'test-anthropic-key',
MISTRAL_API_KEY: 'test-mistral-key',
OPENROUTER_API_KEY: 'test-openrouter-key',
+ TOGETHERAI_API_KEY: 'test-togetherai-key',
})),
}));
@@ -339,6 +341,30 @@ describe('AgentRuntime', () => {
});
});
+ describe('Together AI provider', () => {
+ it('should initialize correctly', async () => {
+ const jwtPayload: JWTPayload = { apiKey: 'user-togetherai-key' };
+ const runtime = await AgentRuntime.initializeWithUserPayload(
+ ModelProvider.TogetherAI,
+ jwtPayload,
+ );
+
+ // 假设 LobeTogetherAI 是 TogetherAI 提供者的实现类
+ expect(runtime['_runtime']).toBeInstanceOf(LobeTogetherAI);
+ });
+
+ it('should initialize correctly without apiKey', async () => {
+ const jwtPayload: JWTPayload = {};
+ const runtime = await AgentRuntime.initializeWithUserPayload(
+ ModelProvider.TogetherAI,
+ jwtPayload,
+ );
+
+ // 假设 LobeTogetherAI 是 TogetherAI 提供者的实现类
+ expect(runtime['_runtime']).toBeInstanceOf(LobeTogetherAI);
+ });
+ });
+
it('should handle unknown provider gracefully', async () => {
const jwtPayload: JWTPayload = {};
const runtime = await AgentRuntime.initializeWithUserPayload('unknown', jwtPayload);
diff --git a/src/app/api/chat/[provider]/agentRuntime.ts b/src/app/api/chat/[provider]/agentRuntime.ts
index 8657febe1052..07793f9c1bc1 100644
--- a/src/app/api/chat/[provider]/agentRuntime.ts
+++ b/src/app/api/chat/[provider]/agentRuntime.ts
@@ -21,6 +21,7 @@ import {
LobeOpenRouterAI,
LobePerplexityAI,
LobeRuntimeAI,
+ LobeTogetherAI,
LobeZeroOneAI,
LobeZhipuAI,
ModelProvider,
@@ -181,6 +182,11 @@ class AgentRuntime {
break;
}
+ case ModelProvider.TogetherAI: {
+ runtimeModel = this.initTogetherAI(payload);
+ break;
+ }
+
case ModelProvider.ZeroOne: {
runtimeModel = this.initZeroOne(payload);
break;
@@ -301,13 +307,19 @@ class AgentRuntime {
return new LobeOpenRouterAI({ apiKey });
}
+ private static initTogetherAI(payload: JWTPayload) {
+ const { TOGETHERAI_API_KEY } = getServerConfig();
+ const apiKey = apiKeyManager.pick(payload?.apiKey || TOGETHERAI_API_KEY);
+
+ return new LobeTogetherAI({ apiKey });
+ }
+
private static initZeroOne(payload: JWTPayload) {
const { ZEROONE_API_KEY } = getServerConfig();
const apiKey = apiKeyManager.pick(payload?.apiKey || ZEROONE_API_KEY);
return new LobeZeroOneAI({ apiKey });
}
-
}
export default AgentRuntime;
diff --git a/src/app/api/config/route.ts b/src/app/api/config/route.ts
index 890e9771b015..861f8f867745 100644
--- a/src/app/api/config/route.ts
+++ b/src/app/api/config/route.ts
@@ -24,6 +24,7 @@ export const GET = async () => {
ENABLED_MISTRAL,
ENABLED_OPENROUTER,
ENABLED_ZEROONE,
+ ENABLED_TOGETHERAI,
DEFAULT_AGENT_CONFIG,
OLLAMA_CUSTOM_MODELS,
OPENROUTER_CUSTOM_MODELS,
@@ -46,6 +47,7 @@ export const GET = async () => {
ollama: { customModelName: OLLAMA_CUSTOM_MODELS, enabled: ENABLE_OLLAMA },
openrouter: { customModelName: OPENROUTER_CUSTOM_MODELS, enabled: ENABLED_OPENROUTER },
perplexity: { enabled: ENABLED_PERPLEXITY },
+ togetherai: { enabled: ENABLED_TOGETHERAI },
zeroone: { enabled: ENABLED_ZEROONE },
zhipu: { enabled: ENABLED_ZHIPU },
},
diff --git a/src/app/api/errorResponse.test.ts b/src/app/api/errorResponse.test.ts
index da55ab688bb2..6f064056aff0 100644
--- a/src/app/api/errorResponse.test.ts
+++ b/src/app/api/errorResponse.test.ts
@@ -121,6 +121,11 @@ describe('createErrorResponse', () => {
expect(response.status).toBe(481);
});
+ it('returns a 484 status for TogetherAIBizError error type', () => {
+ const errorType = AgentRuntimeErrorType.TogetherAIBizError;
+ const response = createErrorResponse(errorType);
+ expect(response.status).toBe(484);
+ });
});
// 测试状态码不在200-599范围内的情况
diff --git a/src/app/api/errorResponse.ts b/src/app/api/errorResponse.ts
index 082e4e6761c8..e14014c4a189 100644
--- a/src/app/api/errorResponse.ts
+++ b/src/app/api/errorResponse.ts
@@ -59,6 +59,9 @@ const getStatus = (errorType: ILobeAgentRuntimeErrorType | ErrorType) => {
case AgentRuntimeErrorType.ZeroOneBizError: {
return 483;
}
+ case AgentRuntimeErrorType.TogetherAIBizError: {
+ return 484;
+ }
}
return errorType as number;
};
diff --git a/src/app/settings/llm/Google/index.tsx b/src/app/settings/llm/Google/index.tsx
index 02d624d36e94..d1025a6174f1 100644
--- a/src/app/settings/llm/Google/index.tsx
+++ b/src/app/settings/llm/Google/index.tsx
@@ -1,5 +1,5 @@
-import { Google, Gemini } from '@lobehub/icons';
-import { Input, Divider } from 'antd';
+import { Gemini, Google } from '@lobehub/icons';
+import { Divider, Input } from 'antd';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import { Flexbox } from 'react-layout-kit';
diff --git a/src/app/settings/llm/TogetherAI/index.tsx b/src/app/settings/llm/TogetherAI/index.tsx
new file mode 100644
index 000000000000..fc0046f64b7a
--- /dev/null
+++ b/src/app/settings/llm/TogetherAI/index.tsx
@@ -0,0 +1,66 @@
+import { Together } from '@lobehub/icons';
+import { Input } from 'antd';
+import { useTheme } from 'antd-style';
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { ModelProvider } from '@/libs/agent-runtime';
+
+import Checker from '../components/Checker';
+import ProviderConfig from '../components/ProviderConfig';
+import { LLMProviderApiTokenKey, LLMProviderConfigKey } from '../const';
+
+const providerKey = 'togetherai';
+
+const TogetherAIProvider = memo(() => {
+ const { t } = useTranslation('setting');
+
+ const theme = useTheme();
+
+ return (
+
+ ),
+ desc: t('llm.TogetherAI.token.desc'),
+ label: t('llm.TogetherAI.token.title'),
+ name: [LLMProviderConfigKey, providerKey, LLMProviderApiTokenKey],
+ },
+ {
+ children: (
+
+ ),
+ desc: t('llm.TogetherAI.customModelName.desc'),
+ label: t('llm.TogetherAI.customModelName.title'),
+ name: [LLMProviderConfigKey, providerKey, 'customModelName'],
+ },
+ {
+ children: (
+
+ ),
+ desc: t('llm.checker.desc'),
+ label: t('llm.checker.title'),
+ minWidth: '100%',
+ },
+ ]}
+ provider={providerKey}
+ title={
+
+ }
+ />
+ );
+});
+
+export default TogetherAIProvider;
diff --git a/src/app/settings/llm/index.tsx b/src/app/settings/llm/index.tsx
index f53c83d6de33..015028d30e38 100644
--- a/src/app/settings/llm/index.tsx
+++ b/src/app/settings/llm/index.tsx
@@ -18,6 +18,7 @@ import Ollama from './Ollama';
import OpenAI from './OpenAI';
import OpenRouter from './OpenRouter';
import Perplexity from './Perplexity';
+import TogetherAI from './TogetherAI';
import ZeroOne from './ZeroOne';
import Zhipu from './Zhipu';
@@ -40,6 +41,7 @@ export default memo<{ showOllama: boolean }>(({ showOllama }) => {
+