fix: mcp test error

This commit is contained in:
wangcham
2025-10-30 15:01:25 +00:00
parent 4c5139e9ff
commit f2647316a5
5 changed files with 5 additions and 1 deletions

View File

@@ -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);

View File

@@ -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',

View File

@@ -368,6 +368,7 @@ const jaJP = {
sseTimeoutDescription: 'SSE接続を確立するためのタイムアウト',
extraParametersDescription: 'MCPサーバーの特定の動作を設定するための追加パラメータ',
updateSuccess: '更新に成功しました',
testError: '接続テスト出錯',
},
pipelines: {
title: 'パイプライン',

View File

@@ -306,6 +306,7 @@ const zhHans = {
testing: '测试中...',
testSuccess: '连接测试成功',
testFailed: '连接测试失败:',
testError: '连接测试出错',
connectionSuccess: '连接成功',
connectionFailed: '连接失败',
toolsFound: '个工具',

View File

@@ -352,6 +352,7 @@ const zhHant = {
sseTimeoutDescription: '用於建立SSE連接的逾時時間',
extraParametersDescription: '額外參數用於設定MCP伺服器的特定行為',
updateSuccess: '更新成功',
testError: '連接測試出錯'
},
pipelines: {
title: '流程線',