mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 03:15:06 +08:00
fix: mcp test error
This commit is contained in:
@@ -608,7 +608,7 @@ export default function PluginConfigPage() {
|
||||
toast.success(t('models.testSuccess'));
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error(t('models.testError'));
|
||||
toast.error(t('mcp.testError'));
|
||||
})
|
||||
.finally(() => {
|
||||
setMcpTesting(false);
|
||||
|
||||
@@ -366,6 +366,7 @@ const enUS = {
|
||||
sseTimeoutDescription: 'Timeout for establishing SSE connection',
|
||||
extraParametersDescription: 'Additional parameters for configuring specific MCP server behavior',
|
||||
updateSuccess: 'Updated successfully',
|
||||
testError: 'Connection test error',
|
||||
},
|
||||
pipelines: {
|
||||
title: 'Pipelines',
|
||||
|
||||
@@ -368,6 +368,7 @@ const jaJP = {
|
||||
sseTimeoutDescription: 'SSE接続を確立するためのタイムアウト',
|
||||
extraParametersDescription: 'MCPサーバーの特定の動作を設定するための追加パラメータ',
|
||||
updateSuccess: '更新に成功しました',
|
||||
testError: '接続テスト出錯',
|
||||
},
|
||||
pipelines: {
|
||||
title: 'パイプライン',
|
||||
|
||||
@@ -306,6 +306,7 @@ const zhHans = {
|
||||
testing: '测试中...',
|
||||
testSuccess: '连接测试成功',
|
||||
testFailed: '连接测试失败:',
|
||||
testError: '连接测试出错',
|
||||
connectionSuccess: '连接成功',
|
||||
connectionFailed: '连接失败',
|
||||
toolsFound: '个工具',
|
||||
|
||||
@@ -352,6 +352,7 @@ const zhHant = {
|
||||
sseTimeoutDescription: '用於建立SSE連接的逾時時間',
|
||||
extraParametersDescription: '額外參數,用於設定MCP伺服器的特定行為',
|
||||
updateSuccess: '更新成功',
|
||||
testError: '連接測試出錯'
|
||||
},
|
||||
pipelines: {
|
||||
title: '流程線',
|
||||
|
||||
Reference in New Issue
Block a user