From 046ee75b58de1e55d112ed6d5e07ef8fa220ab9b Mon Sep 17 00:00:00 2001 From: yujiezhang-ops Date: Thu, 6 Aug 2026 17:27:04 +0800 Subject: [PATCH] chore: pin the built-in default model to deepseek/deepseek-v4-pro The pinned fallback was deepseek-v3, which both PPIO and Novita still serve but which now sits four releases behind what they list. That value is not probe-only: resolveProviderModel and prepareInstallModel both fall back to it, so it is what lands in an Agent config when the user does not choose a model. v4 also removes a trap. PPIO spelled v3 with a hyphen and Novita with an underscore, so the two entries could never share a constant; both now publish deepseek/deepseek-v4-pro, verified present in each /v1/models listing. Chose the rolling v4-pro alias over v4-flash-0731: the dated snapshot goes stale the moment the next one ships. Chose pro over flash because this value is written into real configs, where coding capability matters more than the per-token saving. The manual-entry placeholder in ModelPicker keeps its neutral gpt-4.1 example; only the provider-specific hints move. --- frontend/src/i18n.tsx | 2 +- frontend/src/pages/AgentProfilePage.tsx | 2 +- frontend/src/pages/ProfilesPage.tsx | 2 +- frontend/src/pages/ProviderKeyPage.tsx | 2 +- manifests/providers.lock.json | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/i18n.tsx b/frontend/src/i18n.tsx index 420258e..c22aa18 100644 --- a/frontend/src/i18n.tsx +++ b/frontend/src/i18n.tsx @@ -57,7 +57,7 @@ const english = { "或手动输入模型 ID": "Or enter a model ID", "手动输入模型 ID": "Enter a model ID", "例如 gpt-4.1": "For example, gpt-4.1", - "例如 deepseek/deepseek-v3": "For example, deepseek/deepseek-v3", + "例如 deepseek/deepseek-v4-pro": "For example, deepseek/deepseek-v4-pro", "例如 siliconflow": "For example, siliconflow", "例如 team-ppio": "For example, team-ppio", "留空则使用 Profile ID": "Leave blank to use the Profile ID", diff --git a/frontend/src/pages/AgentProfilePage.tsx b/frontend/src/pages/AgentProfilePage.tsx index ce805a0..6ec8877 100644 --- a/frontend/src/pages/AgentProfilePage.tsx +++ b/frontend/src/pages/AgentProfilePage.tsx @@ -211,7 +211,7 @@ export function AgentProfilePage() {
- setDraft({ ...draft, model: event.target.value })} placeholder={t("例如 deepseek/deepseek-v3")} required /> + setDraft({ ...draft, model: event.target.value })} placeholder={t("例如 deepseek/deepseek-v4-pro")} required />

diff --git a/frontend/src/pages/ProfilesPage.tsx b/frontend/src/pages/ProfilesPage.tsx index 30aff79..1da7cf0 100644 --- a/frontend/src/pages/ProfilesPage.tsx +++ b/frontend/src/pages/ProfilesPage.tsx @@ -257,7 +257,7 @@ export function ProfilesPage() {

- setEditor({ ...editor, model: event.target.value })} placeholder={t("例如 deepseek/deepseek-v3")} required /> + setEditor({ ...editor, model: event.target.value })} placeholder={t("例如 deepseek/deepseek-v4-pro")} required />
{/* The key is the Provider's, so this only reports whether that Provider has one and links to where it is set. */} diff --git a/frontend/src/pages/ProviderKeyPage.tsx b/frontend/src/pages/ProviderKeyPage.tsx index 799fde9..3154cfc 100644 --- a/frontend/src/pages/ProviderKeyPage.tsx +++ b/frontend/src/pages/ProviderKeyPage.tsx @@ -130,7 +130,7 @@ export function ProviderKeyPage() { className="text-field" value={state.probeModel} onChange={(event) => dispatch({ type: "SET_PROBE_MODEL", value: event.target.value })} - placeholder={t("例如 deepseek/deepseek-v3")} + placeholder={t("例如 deepseek/deepseek-v4-pro")} spellCheck={false} /> {t("可选,仅用于测试连接;实际配置模型在下一步选择")} diff --git a/manifests/providers.lock.json b/manifests/providers.lock.json index c2caae4..5d9f7a1 100644 --- a/manifests/providers.lock.json +++ b/manifests/providers.lock.json @@ -1,13 +1,13 @@ { "schema_version": 1, - "default_fallback_probe_model": "deepseek/deepseek-v3", + "default_fallback_probe_model": "deepseek/deepseek-v4-pro", "providers": { "ppio": { "name": "PPIO", "home": "https://ppio.com/", "base_url": "https://api.ppio.com/openai", "anthropic_base_url": "https://api.ppio.com/anthropic", - "fallback_probe_model": "deepseek/deepseek-v3", + "fallback_probe_model": "deepseek/deepseek-v4-pro", "relationship": "sponsor", "disclosure": "PPIO sponsors OneAgent development. Sponsorship does not affect Agent rank, compatibility conclusions, default selection, or connection tests.", "referral_url": "", @@ -23,7 +23,7 @@ "home": "https://novita.ai/", "base_url": "https://api.novita.ai/openai", "anthropic_base_url": "https://api.novita.ai/anthropic", - "fallback_probe_model": "deepseek/deepseek_v3", + "fallback_probe_model": "deepseek/deepseek-v4-pro", "relationship": "sponsor", "disclosure": "Novita sponsors OneAgent development. Sponsorship does not affect Agent rank, compatibility conclusions, default selection, or connection tests.", "referral_url": "",