Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: Add official Anthropic provider logo https://github.com/siyuan-note/siyuan/issues/17845

Danielb578ada1a77e
diff --git a/app/src/config/tabs/ai/aiProviderPresets.ts b/app/src/config/tabs/ai/aiProviderPresets.ts
index 62d612ddbf..8761ac31e8 100644
--- a/app/src/config/tabs/ai/aiProviderPresets.ts
+++ b/app/src/config/tabs/ai/aiProviderPresets.ts
@@ -14,7 +14,7 @@ export interface IProviderPreset {
export const PROVIDER_PRESETS: IProviderPreset[] = [
{id: "openai", name: "OpenAI", baseURL: "https://api.openai.com/v1", category: "official", responsesSupport: "supported", icon: "/stage/images/ai-providers/openai.svg"},
- {id: "anthropic", name: "Anthropic", baseURL: "https://api.anthropic.com/v1", category: "official", responsesSupport: "unsupported"},
+ {id: "anthropic", name: "Anthropic", baseURL: "https://api.anthropic.com/v1", category: "official", responsesSupport: "unsupported", icon: "/stage/images/ai-providers/anthropic.png"},
{
id: "deepseek", name: "DeepSeek", baseURL: "https://api.deepseek.com", category: "official", responsesSupport: "supported",
icon: "/stage/images/ai-providers/deepseek.svg",
diff --git a/app/stage/images/ai-providers/README.md b/app/stage/images/ai-providers/README.md
index 4a07f5a83a..81476ccd6d 100644
--- a/app/stage/images/ai-providers/README.md
+++ b/app/stage/images/ai-providers/README.md
@@ -1,6 +1,8 @@
# AI provider logos
-The SVG files in this directory are bundled locally so the AI settings UI does not hotlink third-party assets.
+The image files in this directory are bundled locally so the AI settings UI does not hotlink third-party assets.
+
+The `anthropic.png` file is the unmodified [Apple touch icon](https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/67d31dd7aa394792257596c5_webclip.png) linked by the official [Anthropic website](https://www.anthropic.com/). The depicted logo remains a trademark of Anthropic.
The `openai.svg` file is extracted without altering its path geometry from the official [OpenAI Blossom asset](https://images.ctfassets.net/kftzwdyauwt9/3hUGLn3ypllZ0oa01qOYVq/28e8188e6f11b84c3e876569d492734f/Blossom_Light.svg) and normalized to the same 24-by-24 view box as the other provider icons. Use of the logo is subject to the [OpenAI Design Guidelines](https://openai.com/brand/).
diff --git a/app/stage/images/ai-providers/anthropic.png b/app/stage/images/ai-providers/anthropic.png
new file mode 100644
index 0000000000..747155bb29
Binary files /dev/null and b/app/stage/images/ai-providers/anthropic.png differ