From f8488515ed3cc2863cde9f44e69a6f724480700a Mon Sep 17 00:00:00 2001 From: benjamin Date: Tue, 19 May 2026 22:04:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(channel-monitor):=20=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E9=80=89=E6=8B=A9=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- frontend/src/i18n/locales/en.ts | 5 +++++ frontend/src/i18n/locales/zh.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/frontend/src/i18n/locales/en.ts b/frontend/src/i18n/locales/en.ts index 01c8b82e..c0f07fd1 100644 --- a/frontend/src/i18n/locales/en.ts +++ b/frontend/src/i18n/locales/en.ts @@ -2622,6 +2622,11 @@ export default { name: 'Name', namePlaceholder: 'Enter monitor name', provider: 'Platform', + apiMode: 'OpenAI protocol', + apiModeChatCompletions: 'OpenAI Compatible', + apiModeChatCompletionsHint: 'Use /v1/chat/completions with messages; works for most compatible providers.', + apiModeResponses: 'Responses API', + apiModeResponsesHint: 'Use /v1/responses with default instructions + input; best for self-check/Codex paths.', endpoint: 'Endpoint', endpointPlaceholder: 'https://api.example.com', useCurrentDomain: 'Use current service', diff --git a/frontend/src/i18n/locales/zh.ts b/frontend/src/i18n/locales/zh.ts index 0c62f18d..14800c52 100644 --- a/frontend/src/i18n/locales/zh.ts +++ b/frontend/src/i18n/locales/zh.ts @@ -2699,6 +2699,11 @@ export default { name: '名称', namePlaceholder: '输入监控名称', provider: '平台', + apiMode: 'OpenAI 协议', + apiModeChatCompletions: 'OpenAI Compatible', + apiModeChatCompletionsHint: '使用 /v1/chat/completions,发送 messages;适合大多数兼容站。', + apiModeResponses: 'Responses API', + apiModeResponsesHint: '使用 /v1/responses,默认带 instructions + input;适合本站自检/Codex。', endpoint: '上游地址', endpointPlaceholder: 'https://api.example.com', useCurrentDomain: '使用当前服务',