Merge remote-tracking branch 'origin/master' into dev/4.11.x

# Conflicts:
#	src/langbot/pkg/api/http/controller/groups/pipelines/pipelines.py
#	src/langbot/pkg/api/http/service/bot.py
#	src/langbot/pkg/provider/runners/localagent.py
#	src/langbot/templates/metadata/pipeline/ai.yaml
#	tests/unit_tests/api/service/test_bot_service.py
#	tests/unit_tests/provider/runners/test_difysvapi_runner.py
#	tests/unit_tests/utils/test_safe_regex.py
#	web/src/app/infra/entities/adapter-categories.ts
#	web/src/app/wizard/page.tsx
#	web/src/i18n/locales/en-US.ts
#	web/src/i18n/locales/ja-JP.ts
#	web/src/i18n/locales/zh-Hans.ts
#	web/tests/e2e/plugin-page-auth.spec.ts
This commit is contained in:
Hyu
2026-08-31 17:17:47 +08:00
67 changed files with 3604 additions and 255 deletions
+54 -1
View File
@@ -1639,12 +1639,65 @@ const zhHant = {
saveBot: '儲存並啟用',
resaveBot: '重新儲存配置',
botSaved: '機器人配置已儲存並啟用,請查看日誌確認連接正常。',
waitingForMessage: '機器人已啟用。請在 IM 中向機器人傳送一則訊息以繼續。',
messageReceived: '機器人已成功收到 IM 訊息,可以進入下一步。',
messageReceivedLocalAccountWarning:
'機器人側已配置正常並成功收到 IM 訊息。目前未透過 LangBot Account 登入,模型呼叫可能報錯;可以進入下一步新增自己的模型。',
pageBotTestPrompt:
'頁面機器人已啟用。點擊右下角聊天氣泡並傳送一則訊息,驗證完整對話流程。',
pageBotTestNotice: '僅供測試使用,請將程式碼嵌入真實的外部網頁。',
webhookTestPrompt:
'回呼 URL 已準備好。請在外部平台完成配置,然後向機器人傳送一則真實訊息。',
httpTestPrompt:
'HTTP 機器人已啟用。請在此傳送一則真實的入站訊息以驗證連接。',
httpTestDefaultMessage: '你好,這是一則連接測試訊息。',
sendHttpTest: '傳送測試訊息',
httpTestAccepted: '測試訊息已被接受,稍後將顯示在日誌中。',
httpTestMissingSecret: '請先填寫入站簽章密鑰並儲存配置。',
httpTestFailed: '傳送測試訊息失敗:{{error}}',
logsTitle: '機器人日誌',
logsDescription: '監控機器人活動,確認平台連接是否正常運作。',
},
aiEngine: {
title: '選擇 AI 引擎',
title: '配置 AI 引擎',
description: '選擇驅動機器人智慧的 AI 引擎。',
optionalDescription: '這一步可選。選擇接下來要如何完善目前的 Agent。',
externalTitle: '接入外部平台 Agent',
externalDescription:
'接入 Dify、n8n、Coze 等平台,並替換目前機器人的流水線。',
ownModelTitle: '改成使用自己的模型',
ownModelDescription:
'新增模型供應商,自動掃描或手動填寫模型以快速完成引導。',
ownModelSetupTitle: '新增你自己的模型',
ownModelSetupDescription:
'先新增模型供應商,儲存後會自動掃描,也可以手動填寫模型 ID。',
addProviderTitle: '新增供應商',
addProviderDescription: '填寫供應商和 API Key,用於連接並掃描模型。',
selectModelTitle: '選擇模型',
selectScannedModelTitle: '選擇模型',
selectScannedModelDescription:
'所選模型將成為新流水線的主要模型,機器人也會切換到該流水線。',
scanModelMode: '自動掃描',
manualModelMode: '手動新增',
scanningModels: '正在掃描可用模型…',
noScannedModels: '未找到可用的對話模型,請檢查供應商配置。',
scanModelsFailed: '掃描模型失敗,請檢查請求 URL 和 API Key 後重試。',
manualFallbackFailed: '自動掃描失敗,請填寫該供應商支援的模型 ID。',
manualFallbackEmpty: '未掃描到模型,請填寫該供應商支援的模型 ID。',
manualModelId: '模型 ID',
manualModelIdPlaceholder: '例如:gpt-4o',
manualModelIdDescription: '填寫模型請求中使用的 model 參數。',
manualModelOptions: '模型能力(可選)',
editProvider: '編輯供應商',
rescanModels: '重新掃描模型',
moreFeaturesTitle: '給目前的 Agent 配置更多功能',
moreFeaturesDescription:
'進入工作台,為剛剛自動產生的 Agent 新增工具、知識庫等能力',
runnerDescription: '選擇外部 Agent 的 Runner 並完成連接配置。',
backToChoices: '返回選項',
createExternal: '建立並關聯',
finishWithModel: '使用所選模型並完成',
openWorkbench: '進入工作台',
},
config: {
botInfo: '機器人資訊',