Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(providers): scope setup guidance to speech models
JiangJiahao5d36642091b1
diff --git a/apps/desktop/src/renderer/components/settings/AddProviderWizard.tsx b/apps/desktop/src/renderer/components/settings/AddProviderWizard.tsxindex c019659d40..37c0ed50e6 100644--- a/apps/desktop/src/renderer/components/settings/AddProviderWizard.tsx+++ b/apps/desktop/src/renderer/components/settings/AddProviderWizard.tsx@@ -2230,9 +2230,11 @@ export function AddProviderWizard({))}</div>)}- <p className="text-11 leading-snug" style={{ color: 'var(--text-tertiary)' }}>- {t(speechPicks.length > 0 ? 'settings.providers.speechSetup.modelsHint' : 'settings.providers.wizard.modelsHint')}- </p>+ {(generalPicks.length > 0 || showManualModelFallback) && (+ <p className="text-11 leading-snug" style={{ color: 'var(--text-tertiary)' }}>+ {t('settings.providers.wizard.modelsHint')}+ </p>+ )}</>)}</div>diff --git a/apps/desktop/src/renderer/components/settings/AddSpeechModelsDialog.tsx b/apps/desktop/src/renderer/components/settings/AddSpeechModelsDialog.tsxindex 75618b9748..6763d461ea 100644--- a/apps/desktop/src/renderer/components/settings/AddSpeechModelsDialog.tsx+++ b/apps/desktop/src/renderer/components/settings/AddSpeechModelsDialog.tsx@@ -244,9 +244,6 @@ export function AddSpeechModelsDialog({})}/>- <p className="text-11 leading-relaxed text-[var(--text-tertiary)]">- {t('settings.providers.speechSetup.modelsHint')}- </p></>)}</div>diff --git a/apps/desktop/src/renderer/components/settings/SpeechModelChoices.tsx b/apps/desktop/src/renderer/components/settings/SpeechModelChoices.tsxindex e629728563..7ae52a7379 100644--- a/apps/desktop/src/renderer/components/settings/SpeechModelChoices.tsx+++ b/apps/desktop/src/renderer/components/settings/SpeechModelChoices.tsx@@ -138,6 +138,9 @@ export function SpeechModelChoices({</Button></div>)}+ <p className="text-11 leading-relaxed text-[var(--text-tertiary)]">+ {t('settings.providers.speechSetup.modelsHint')}+ </p></section>);}diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.jsonindex 0039d2ab80..abf54228bc 100644--- a/apps/desktop/src/renderer/i18n/locales/en/common.json+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json@@ -3878,7 +3878,7 @@"more": "More speech models ({{count}})","manual": "Enter a speech model ID","modelId": "Speech model ID",- "modelsHint": "Saving only adds models; it does not call the speech service. Choose voices and sentence playback in companion voice settings.",+ "modelsHint": "Saving speech models does not start speech synthesis. Choose voices and sentence playback in companion voice settings.","otherModels": "Chat and other models","separateKey": "Speech requires an API key. This creates a separate connection and keeps your subscription or device-code connection.","fetchFailed": "The model catalog is unavailable. You can still add reference models.",diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.jsonindex 4c96f97ec7..1a23bc595a 100644--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json@@ -3847,7 +3847,7 @@"more": "その他の音声モデル({{count}})","manual": "音声モデル ID を入力","modelId": "音声モデル ID",- "modelsHint": "保存ではモデルの追加のみを行い、音声サービスは呼び出しません。音声や文ごとの読み上げはパートナーの音声設定で調整できます。",+ "modelsHint": "音声モデルを保存しても、音声合成は開始されません。音声や文ごとの読み上げはパートナーの音声設定で調整できます。","otherModels": "チャットとその他のモデル","separateKey": "音声には API キーが必要です。別の接続を作成し、既存のサブスクリプションやデバイスコードの接続は保持します。","fetchFailed": "モデル一覧を取得できません。参考モデルを選んで追加できます。",diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.jsonindex 2d05355f06..859dcc2680 100644--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json@@ -3847,7 +3847,7 @@"more": "음성 모델 더 보기 ({{count}})","manual": "음성 모델 ID 직접 입력","modelId": "음성 모델 ID",- "modelsHint": "저장은 모델만 추가하며 음성 서비스를 호출하지 않습니다. 음색과 문장별 읽기는 파트너 음성 설정에서 조정할 수 있습니다.",+ "modelsHint": "음성 모델을 저장해도 음성 합성은 시작되지 않습니다. 음색과 문장별 읽기는 파트너 음성 설정에서 조정할 수 있습니다.","otherModels": "대화 및 기타 모델","separateKey": "음성에는 API 키가 필요합니다. 별도 연결을 만들고 기존 구독 또는 기기 코드 연결은 유지합니다.","fetchFailed": "모델 목록을 가져올 수 없습니다. 참조 모델을 선택하여 추가할 수 있습니다.",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.jsonindex 8b1c5d7167..0788da9e30 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json@@ -3847,7 +3847,7 @@"more": "更多语音型号({{count}})","manual": "手动输入语音型号","modelId": "语音模型 ID",- "modelsHint": "保存仅添加模型,不会调用语音服务。音色和逐句朗读可在伙伴语音设置中调整。",+ "modelsHint": "保存语音模型不会发起语音合成。音色和逐句朗读可在伙伴语音设置中调整。","otherModels": "对话与其他模型","separateKey": "语音服务需要 API Key。将创建独立连接,原有订阅或设备码连接会保留。","fetchFailed": "模型目录暂时无法获取,仍可选择参考型号添加。",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.jsonindex 0da6fe0333..d158b05820 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json@@ -3847,7 +3847,7 @@"more": "更多語音型號({{count}})","manual": "手動輸入語音型號","modelId": "語音模型 ID",- "modelsHint": "儲存僅新增模型,不會呼叫語音服務。音色和逐句朗讀可在夥伴語音設定中調整。",+ "modelsHint": "儲存語音模型不會啟動語音合成。音色和逐句朗讀可在夥伴語音設定中調整。","otherModels": "對話與其他模型","separateKey": "語音服務需要 API Key。將建立獨立連線,原有訂閱或裝置碼連線會保留。","fetchFailed": "暫時無法取得模型目錄,仍可選擇參考型號新增。",diff --git a/docs/product-rules/provider-settings.md b/docs/product-rules/provider-settings.mdindex 5f1bcad322..a01baebe65 100644--- a/docs/product-rules/provider-settings.md+++ b/docs/product-rules/provider-settings.md@@ -125,4 +125,4 @@ OpenAI、Claude 和 Grok 都允许新增独立登录账号。每次新增生成- 订阅或设备码连接走独立 API Key 连接,不转换、不覆盖原连接。普通百炼 API 与 Coding Plan / Token Plan 入口分开,不推断套餐具有语音额度。- 目录返回、公共参考和用户手填是不同来源。参考清单只描述添加建议,名称与能力仍继承公共 Registry;未选中的参考型号不写入账号连接。目录明确返回非 TTS 能力时,不以参考清单把它恢复成语音。- 目录返回但未勾选的语音型号保留在连接目录中,默认隐藏,不出现在伙伴朗读选择器中。媒体投影保留该显示默认值;后续显式显示偏好按连接与 runtime 生效,显示偏好与停用、账号准入独立。-- 获取目录和保存型号不等于调用成功或已获授权;不自动发起计费合成。音色、试听、逐句朗读属于伙伴语音设置,不进入供应商添加流程。Qwen / CosyVoice 的目录接入不替代各自原生执行器的交付和验证。+- 获取目录和保存型号不等于调用成功或已获授权;不自动发起计费合成。音色、试听、逐句朗读属于伙伴语音设置,不进入供应商添加流程。两个添加入口的保存与设置说明统一放在语音模型分组内,对话模型的说明留在对应列表下方。Qwen / CosyVoice 的目录接入不替代各自原生执行器的交付和验证。