From 21815837006995c655bb43a94e1e13c04479f044 Mon Sep 17 00:00:00 2001 From: Aleksander Grygier Date: Wed, 16 Sep 2026 23:27:24 +0200 Subject: [PATCH] ui : use the providers' official artwork in the backend presets Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash --- .../ui/src/lib/constants/backend.constants.ts | 2 +- tools/ui/static/backend-presets/google.svg | 11 ++++- .../ui/static/backend-presets/huggingface.svg | 38 +++++++++++++++++- tools/ui/static/backend-presets/qwen.png | Bin 0 -> 1658 bytes tools/ui/static/backend-presets/qwen.svg | 1 - 5 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 tools/ui/static/backend-presets/qwen.png delete mode 100644 tools/ui/static/backend-presets/qwen.svg diff --git a/tools/ui/src/lib/constants/backend.constants.ts b/tools/ui/src/lib/constants/backend.constants.ts index f9e13b74f8..6ad5c0a1a2 100644 --- a/tools/ui/src/lib/constants/backend.constants.ts +++ b/tools/ui/src/lib/constants/backend.constants.ts @@ -118,7 +118,7 @@ export const BACKEND_PRESETS: readonly BackendPreset[] = [ { baseUrl: 'https://dashscope-intl.aliyuncs.com/compatible-mode/v1', chatPath: '/chat/completions', - iconUrl: '/backend-presets/qwen.svg', + iconUrl: '/backend-presets/qwen.png', id: 'qwen', modelsPath: '/models', name: 'Qwen', diff --git a/tools/ui/static/backend-presets/google.svg b/tools/ui/static/backend-presets/google.svg index e15e53ce01..4545c8331f 100644 --- a/tools/ui/static/backend-presets/google.svg +++ b/tools/ui/static/backend-presets/google.svg @@ -1 +1,10 @@ -Google Gemini \ No newline at end of file + + + + + + + + + + diff --git a/tools/ui/static/backend-presets/huggingface.svg b/tools/ui/static/backend-presets/huggingface.svg index a52cbe3ec4..6b3b4f687e 100644 --- a/tools/ui/static/backend-presets/huggingface.svg +++ b/tools/ui/static/backend-presets/huggingface.svg @@ -1 +1,37 @@ -Hugging Face \ No newline at end of file + + + + + + + + + + + diff --git a/tools/ui/static/backend-presets/qwen.png b/tools/ui/static/backend-presets/qwen.png new file mode 100644 index 0000000000000000000000000000000000000000..87a98a9526242daec54cd5d48a37eae55c5998eb GIT binary patch literal 1658 zcmV-=28H>FP)qlntr@V> z)dfm?aCph6ljCGORAVGWhPEj27u+a5m$*b?v|_-{k?zyK0*=t-axqdGwX#PvX-AfObw)nX(- zG!LXN-1CUM^(e{>rQV7>TIYD=;E^_$Zh@3h=uiGp?_6FI#W^sn2PRm%GU?6s z?Ue*G;B4>fV{>`UIVhwD7T9bG&OyNpm;*`acCKi}JO3RpsVkj2WGI`+`EjU*q&SZ# zHz=@yWK;ajI&Regd&l~G??^vY(bV!sdDD}rGHg0srtt=w2$hL?2iLqq8z2w5BoDd* z7fpSOM>Y82J&v@ge|y+0&M1w!`n1Xz-R>ow3~+_);dn})5FGd+PGWGE>5 znvMAiEz&drMnP|^G7PDqG=K+nX^dF)U`uOaVoFg{O|6;$qv!AGJkMOu)1JmqNQV$U zeFiB^Mxl7)bLKox={)b?h}D3zde*7Ew}O7`fa2NAVk^&=?YEZR5ExwAKo z2CO2IqdKtyr`7f0m##j=n$0W|_!KknvHHT&X^qZt5^7*vbOy&F5HG@NDwR_?Y2IaZ zT@jzbVFW&w0skjeMN$+sIhS-=6KDpfw-p&8pSqP}RGk zjb|wBD!tcun|QCcW_6k85^r?alGZqTpxIC1uH{Aa&es zsEZ|iyOp#2KdX29hzM;tFBczkGGNgCMmc(6sI;X4+r*Zu2ZofS3T|4{*6?O#(MZ__ zjI!Tordm_BFl%Ebwldr=KFl(pS#hnyswf8ARKwD_v~|x3wK;5=0#}VO`%@p0AT|8g zy5zc*JDwUQwpbphz-p7P(wKHTLCTD(&w!y)BB$bsZh2V zpJ#YMM2pJ$t3PgvuloH&l;j_6J7=k%|4|qrC{3P zbNd1p_RWSdA>+xFjz&evdH22f(B7}N#iB+IFHvTi3uE!>IxA^-+-=CT7dJ^)&Kwi literal 0 HcmV?d00001 diff --git a/tools/ui/static/backend-presets/qwen.svg b/tools/ui/static/backend-presets/qwen.svg deleted file mode 100644 index 351c2d9315..0000000000 --- a/tools/ui/static/backend-presets/qwen.svg +++ /dev/null @@ -1 +0,0 @@ -QWen \ No newline at end of file