mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
ℹ️ feat: Add icons for Google, OpenAI, and Qwen endpoints (#7428)
Co-authored-by: aoaim <assertivemiao@outlook.com>
This commit is contained in:
parent
b846f562be
commit
fb88ac00c6
4 changed files with 6 additions and 0 deletions
1
client/public/assets/google.svg
Normal file
1
client/public/assets/google.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg height="56" style="flex: 0 0 auto; line-height: 1;" viewBox="0 0 24 24" width="56" xmlns="http://www.w3.org/2000/svg"><title>Gemini</title><defs><linearGradient id="lobe-icons-gemini-fill" x1="0%" x2="68.73%" y1="100%" y2="30.395%"><stop offset="0%" stop-color="#1C7DFF"></stop><stop offset="52.021%" stop-color="#1C69FF"></stop><stop offset="100%" stop-color="#F0DCD6"></stop></linearGradient></defs><path d="M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12" fill="url(#lobe-icons-gemini-fill)" fill-rule="nonzero"></path></svg>
|
After Width: | Height: | Size: 587 B |
1
client/public/assets/openai.svg
Normal file
1
client/public/assets/openai.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg fill="currentColor" fill-rule="evenodd" height="56" style="flex: 0 0 auto; line-height: 1;" viewBox="0 0 24 24" width="56" xmlns="http://www.w3.org/2000/svg"><title>OpenAI</title><path d="M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"></path></svg>
|
After Width: | Height: | Size: 1.7 KiB |
1
client/public/assets/qwen.svg
Normal file
1
client/public/assets/qwen.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg height="56" style="flex: 0 0 auto; line-height: 1;" viewBox="0 0 24 24" width="56" xmlns="http://www.w3.org/2000/svg"><title>Qwen</title><defs><linearGradient id="lobe-icons-qwen-fill" x1="0%" x2="100%" y1="0%" y2="0%"><stop offset="0%" stop-color="#00055F" stop-opacity=".84"></stop><stop offset="100%" stop-color="#6F69F7" stop-opacity=".84"></stop></linearGradient></defs><path d="M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z" fill="url(#lobe-icons-qwen-fill)" fill-rule="nonzero"></path></svg>
|
After Width: | Height: | Size: 2 KiB |
|
@ -10,13 +10,16 @@ const knownEndpointAssets = {
|
||||||
[KnownEndpoints.cohere]: '/assets/cohere.png',
|
[KnownEndpoints.cohere]: '/assets/cohere.png',
|
||||||
[KnownEndpoints.deepseek]: '/assets/deepseek.svg',
|
[KnownEndpoints.deepseek]: '/assets/deepseek.svg',
|
||||||
[KnownEndpoints.fireworks]: '/assets/fireworks.png',
|
[KnownEndpoints.fireworks]: '/assets/fireworks.png',
|
||||||
|
[KnownEndpoints.google]: '/assets/google.svg',
|
||||||
[KnownEndpoints.groq]: '/assets/groq.png',
|
[KnownEndpoints.groq]: '/assets/groq.png',
|
||||||
[KnownEndpoints.huggingface]: '/assets/huggingface.svg',
|
[KnownEndpoints.huggingface]: '/assets/huggingface.svg',
|
||||||
[KnownEndpoints.mistral]: '/assets/mistral.png',
|
[KnownEndpoints.mistral]: '/assets/mistral.png',
|
||||||
[KnownEndpoints.mlx]: '/assets/mlx.png',
|
[KnownEndpoints.mlx]: '/assets/mlx.png',
|
||||||
[KnownEndpoints.ollama]: '/assets/ollama.png',
|
[KnownEndpoints.ollama]: '/assets/ollama.png',
|
||||||
|
[KnownEndpoints.openai]: '/assets/openai.svg',
|
||||||
[KnownEndpoints.openrouter]: '/assets/openrouter.png',
|
[KnownEndpoints.openrouter]: '/assets/openrouter.png',
|
||||||
[KnownEndpoints.perplexity]: '/assets/perplexity.png',
|
[KnownEndpoints.perplexity]: '/assets/perplexity.png',
|
||||||
|
[KnownEndpoints.qwen]: '/assets/qwen.svg',
|
||||||
[KnownEndpoints.shuttleai]: '/assets/shuttleai.png',
|
[KnownEndpoints.shuttleai]: '/assets/shuttleai.png',
|
||||||
[KnownEndpoints['together.ai']]: '/assets/together.png',
|
[KnownEndpoints['together.ai']]: '/assets/together.png',
|
||||||
[KnownEndpoints.unify]: '/assets/unify.webp',
|
[KnownEndpoints.unify]: '/assets/unify.webp',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue