Add Claude Desktop official preset

- Add Claude Desktop Official to the Claude Desktop preset list.
- Treat selected official presets as official mode in the form.
- Cover the official preset with a preset-order regression test.
This commit is contained in:
Jason
2026-05-16 19:49:59 +08:00
parent 6172bfd549
commit c460a404dc
3 changed files with 27 additions and 1 deletions
@@ -134,6 +134,21 @@ const brandedRoutes = (
};
export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
{
name: "Claude Desktop Official",
websiteUrl: "https://claude.ai/download",
category: "official",
baseUrl: "",
mode: "direct",
apiFormat: "anthropic",
theme: {
icon: "claude",
backgroundColor: "#D97757",
textColor: "#FFFFFF",
},
icon: "anthropic",
iconColor: "#D4915D",
},
{
name: "Shengsuanyun",
nameKey: "providerForm.presets.shengsuanyun",