chore(sponsors): swap AICodeMirror with AstraFlow and lead ai presets

This commit is contained in:
t8y2 committed 2026-09-24 14:54:34 +08:00
1 parent d58b3c6a2d
commit 80141e3531
5 files changed
+55 -55

No files matched your search

+8 -8
View File
@@ -103,13 +103,13 @@
</tr> </tr>
<tr> <tr>
<td align="center" valign="middle" width="200"> <td align="center" valign="middle" width="200">
<a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank"> <a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">
<img src="docs/public/sponsors/astraflow-card.png" alt="AstraFlow" width="175" /> <img src="docs/public/sponsors/aicodemirror-card.png" alt="AICodeMirror" width="175" />
</a> </a>
</td> </td>
<td> <td>
UCloud is the first public cloud provider listed on China's STAR Market, with 28 global regions for cloud hosting, databases, and CDN; its AstraFlow platform offers one-click access to 200+ mainstream LLMs. Special thanks to AICodeMirror for sponsoring this project! AICodeMirror provides a high-stability official relay service for Claude Code / Codex / Gemini CLI, with enterprise-grade concurrency, fast invoicing, and 7×24 dedicated support. Official-channel pricing for Claude Code / Codex / Gemini is as low as 38% / 2% / 9% of list price, with extra discounts on top-ups! AICodeMirror offers a special benefit for DBX users: register through this link to enjoy 20% off your first top-up, and enterprise customers up to 25% off.
<a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">Visit UCloud</a> <a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">Visit AICodeMirror</a>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -125,13 +125,13 @@
</tr> </tr>
<tr> <tr>
<td align="center" valign="middle" width="200"> <td align="center" valign="middle" width="200">
<a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank"> <a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">
<img src="docs/public/sponsors/aicodemirror-card.png" alt="AICodeMirror" width="175" /> <img src="docs/public/sponsors/astraflow-card.png" alt="AstraFlow" width="175" />
</a> </a>
</td> </td>
<td> <td>
Special thanks to AICodeMirror for sponsoring this project! AICodeMirror provides a high-stability official relay service for Claude Code / Codex / Gemini CLI, with enterprise-grade concurrency, fast invoicing, and 7×24 dedicated support. Official-channel pricing for Claude Code / Codex / Gemini is as low as 38% / 2% / 9% of list price, with extra discounts on top-ups! AICodeMirror offers a special benefit for DBX users: register through this link to enjoy 20% off your first top-up, and enterprise customers up to 25% off. UCloud is the first public cloud provider listed on China's STAR Market, with 28 global regions for cloud hosting, databases, and CDN; its AstraFlow platform offers one-click access to 200+ mainstream LLMs.
<a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">Visit AICodeMirror</a> <a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">Visit UCloud</a>
</td> </td>
</tr> </tr>
<tr> <tr>
+8 -8
View File
@@ -103,13 +103,13 @@
</tr> </tr>
<tr> <tr>
<td align="center" valign="middle" width="200"> <td align="center" valign="middle" width="200">
<a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank"> <a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">
<img src="docs/public/sponsors/astraflow-card.png" alt="AstraFlow" width="175" /> <img src="docs/public/sponsors/aicodemirror-card.png" alt="AICodeMirror" width="175" />
</a> </a>
</td> </td>
<td> <td>
UCloud 优刻得是国内首家公有云科创板上市公司,覆盖国内、亚洲、欧洲、北美等 28 个地域的云主机、数据库、CDN 等服务,注册享新客优惠 0.9 折起;星图 AstraFlow 大模型平台支持主流 200+ 大模型一键调用。 感谢 AICodeMirror 赞助了本项目!AICodeMirror 提供 Claude Code / Codex / Gemini CLI 官方高稳定中转服务,支持企业级高并发、极速开票、7×24 专属技术支持。Claude Code / Codex / Gemini 官方渠道低至 3.8 / 0.2 / 0.9 折,充值更有折上折!AICodeMirror 为 DBX 用户提供了特别福利,通过此链接注册的用户,可享受首充 8 折,企业客户最高可享 7.5 折!
<a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">访问 UCloud 优刻得</a> <a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">访问 AICodeMirror</a>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -125,13 +125,13 @@
</tr> </tr>
<tr> <tr>
<td align="center" valign="middle" width="200"> <td align="center" valign="middle" width="200">
<a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank"> <a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">
<img src="docs/public/sponsors/aicodemirror-card.png" alt="AICodeMirror" width="175" /> <img src="docs/public/sponsors/astraflow-card.png" alt="AstraFlow" width="175" />
</a> </a>
</td> </td>
<td> <td>
感谢 AICodeMirror 赞助了本项目!AICodeMirror 提供 Claude Code / Codex / Gemini CLI 官方高稳定中转服务,支持企业级高并发、极速开票、7×24 专属技术支持。Claude Code / Codex / Gemini 官方渠道低至 3.8 / 0.2 / 0.9 折,充值更有折上折!AICodeMirror 为 DBX 用户提供了特别福利,通过此链接注册的用户,可享受首充 8 折,企业客户最高可享 7.5 折! UCloud 优刻得是国内首家公有云科创板上市公司,覆盖国内、亚洲、欧洲、北美等 28 个地域的云主机、数据库、CDN 等服务,注册享新客优惠 0.9 折起;星图 AstraFlow 大模型平台支持主流 200+ 大模型一键调用。
<a href="https://www.aicodemirror.ai/register?invitecode=9A50BU" target="_blank">访问 AICodeMirror</a> <a href="https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx" target="_blank">访问 UCloud 优刻得</a>
</td> </td>
</tr> </tr>
<tr> <tr>
+15 -15
View File
@@ -458,6 +458,21 @@ export function aiProviderLabel(provider: AiProvider, t: (key: string) => string
} }
export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [ export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [
{
id: "aicodemirror",
label: "AICodeMirror",
iconPath: "/icons/ai/aicodemirror.png",
group: "partner",
provider: "openai-compatible",
endpoint: "https://api.aicodemirror.ai/v1",
model: "",
apiStyle: "completions",
authMethod: "bearer",
requiresApiKey: true,
websiteUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
apiKeyUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
descriptionKey: "ai.aicodemirrorDescription",
},
{ {
id: "jalapeno-cloud", id: "jalapeno-cloud",
label: "Jalapeno Cloud", label: "Jalapeno Cloud",
@@ -490,21 +505,6 @@ export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [
apiKeyUrl: "https://api.hualong.online/register?promo=DBX%26HUALONG", apiKeyUrl: "https://api.hualong.online/register?promo=DBX%26HUALONG",
descriptionKey: "ai.hualongDescription", descriptionKey: "ai.hualongDescription",
}, },
{
id: "aicodemirror",
label: "AICodeMirror",
iconPath: "/icons/ai/aicodemirror.png",
group: "partner",
provider: "openai-compatible",
endpoint: "https://api.aicodemirror.ai/v1",
model: "",
apiStyle: "completions",
authMethod: "bearer",
requiresApiKey: true,
websiteUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
apiKeyUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
descriptionKey: "ai.aicodemirrorDescription",
},
]; ];
function normalizeAiProviderEndpoint(endpoint: string): string { function normalizeAiProviderEndpoint(endpoint: string): string {
+12 -12
View File
@@ -515,12 +515,12 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:
action: t.jalapenoSponsorAction, action: t.jalapenoSponsorAction,
}, },
{ {
name: "AstraFlow", name: "AICodeMirror",
href: "https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx", href: "https://www.aicodemirror.ai/register?invitecode=9A50BU",
logo: "/sponsors/astraflow-card.png", logo: "/sponsors/aicodemirror-card.png",
logoClass: "w-full max-w-[100px] object-contain", logoClass: "w-full max-w-[120px] object-contain",
description: t.astraflowSponsorDesc, description: t.aicodemirrorSponsorDesc,
action: t.astraflowSponsorAction, action: t.aicodemirrorSponsorAction,
}, },
{ {
name: "HuaLongAI", name: "HuaLongAI",
@@ -531,12 +531,12 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:
action: t.hualongSponsorAction, action: t.hualongSponsorAction,
}, },
{ {
name: "AICodeMirror", name: "AstraFlow",
href: "https://www.aicodemirror.ai/register?invitecode=9A50BU", href: "https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx",
logo: "/sponsors/aicodemirror-card.png", logo: "/sponsors/astraflow-card.png",
logoClass: "w-full max-w-[120px] object-contain", logoClass: "w-full max-w-[100px] object-contain",
description: t.aicodemirrorSponsorDesc, description: t.astraflowSponsorDesc,
action: t.aicodemirrorSponsorAction, action: t.astraflowSponsorAction,
}, },
{ {
name: "Atlas Cloud", name: "Atlas Cloud",
+12 -12
View File
@@ -108,12 +108,12 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang:
action: t.jalapenoSponsorAction, action: t.jalapenoSponsorAction,
}, },
{ {
name: "AstraFlow", name: "AICodeMirror",
href: "https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx", href: "https://www.aicodemirror.ai/register?invitecode=9A50BU",
logo: "/sponsors/astraflow-card.png", logo: "/sponsors/aicodemirror-card.png",
logoClass: "w-full max-w-[136px] object-contain", logoClass: "w-full max-w-[160px] object-contain",
description: t.astraflowSponsorDesc, description: t.aicodemirrorSponsorDesc,
action: t.astraflowSponsorAction, action: t.aicodemirrorSponsorAction,
}, },
{ {
name: "HuaLongAI", name: "HuaLongAI",
@@ -124,12 +124,12 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang:
action: t.hualongSponsorAction, action: t.hualongSponsorAction,
}, },
{ {
name: "AICodeMirror", name: "AstraFlow",
href: "https://www.aicodemirror.ai/register?invitecode=9A50BU", href: "https://www.ucloud.cn/site/active/kuaijiesale.html?ytag=geo_waituo_github_dbx",
logo: "/sponsors/aicodemirror-card.png", logo: "/sponsors/astraflow-card.png",
logoClass: "w-full max-w-[160px] object-contain", logoClass: "w-full max-w-[136px] object-contain",
description: t.aicodemirrorSponsorDesc, description: t.astraflowSponsorDesc,
action: t.aicodemirrorSponsorAction, action: t.astraflowSponsorAction,
}, },
{ {
name: "Atlas Cloud", name: "Atlas Cloud",