From 76ec644f3510fce1dae8ab3cd083cd8c203c67fe Mon Sep 17 00:00:00 2001 From: wshy Date: Thu, 25 Jun 2026 10:57:02 +0800 Subject: [PATCH] =?UTF-8?q?chore(ai):=20=E7=82=B8=E9=B8=A1=E4=B8=AD?= =?UTF-8?q?=E8=BD=AC=E7=AB=99=E9=A2=84=E8=AE=BE=E7=A7=BB=E8=87=B3=E6=9C=AB?= =?UTF-8?q?=E5=B0=BE,=E4=BC=98=E6=83=A0=20tag=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E8=B5=9E=E5=8A=A9=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/settings/AI.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/settings/AI.tsx b/frontend/src/pages/settings/AI.tsx index 6be0d37..407c7d6 100644 --- a/frontend/src/pages/settings/AI.tsx +++ b/frontend/src/pages/settings/AI.tsx @@ -6,9 +6,9 @@ import { api } from '@/lib/api' import { QK } from '@/lib/queryKeys' const PRESETS: { label: string; url: string; model: string; website: string; websiteLabel: string; description: string; partner?: boolean; promo?: string }[] = [ - { label: '炸鸡中转站', url: 'https://code.alysc.top/v1', model: 'gpt-5.5', website: 'https://code.alysc.top/sign-up?aff=1afk', websiteLabel: 'code.alysc.top', description: 'OpenAI 兼容中转服务,适合直接使用国际模型。', partner: true, promo: '通过链接邀请注册赠送免费额度 · 国际模型最低0.01倍率' }, { label: 'DeepSeek', url: 'https://api.deepseek.com/v1', model: 'deepseek-chat', website: 'https://www.deepseek.com/', websiteLabel: 'deepseek.com', description: 'DeepSeek 官方 OpenAI 兼容接口。' }, { label: '通义千问', url: 'https://dashscope.aliyuncs.com/compatible-mode/v1', model: 'qwen-plus', website: 'https://tongyi.aliyun.com/', websiteLabel: 'tongyi.aliyun.com', description: '阿里云 DashScope 兼容模式接口。' }, + { label: '炸鸡中转站', url: 'https://code.alysc.top/v1', model: 'gpt-5.5', website: 'https://code.alysc.top/sign-up?aff=1afk', websiteLabel: 'code.alysc.top', description: 'OpenAI 兼容中转服务,适合直接使用国际模型。', partner: true, promo: '通过链接邀请注册赠送免费额度 · 国际模型最低0.01倍率' }, ] export function SettingsAIPanel() { @@ -126,7 +126,7 @@ export function SettingsAIPanel() { className={`rounded-lg border px-3 py-2 text-left transition-all ${baseUrl === p.url ? 'border-accent/40 bg-accent/10 text-accent' : 'border-border bg-surface text-secondary hover:border-accent/30'}`}>
{p.label} - {p.partner && 优惠} + {p.partner && 赞助}
))}