Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(llm): give Serper its own mark
Elian Doran201066d60d20
diff --git a/apps/client/src/widgets/type_widgets/options/llm/icons/search.svg b/apps/client/src/widgets/type_widgets/options/llm/icons/search.svgdeleted file mode 100644index de93f3ff21..0000000000--- a/apps/client/src/widgets/type_widgets/options/llm/icons/search.svg+++ /dev/null@@ -1 +0,0 @@-<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a8 8 0 0 1 6.32 12.9l5.39 5.39-1.42 1.42-5.39-5.39A8 8 0 1 1 10 2m0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12"/></svg>diff --git a/apps/client/src/widgets/type_widgets/options/llm/icons/serper.svg b/apps/client/src/widgets/type_widgets/options/llm/icons/serper.svgnew file mode 100644index 0000000000..94c12831b7--- /dev/null+++ b/apps/client/src/widgets/type_widgets/options/llm/icons/serper.svg@@ -0,0 +1 @@+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Serper</title><g transform="matrix(0.0034285714 0 0 -0.0034285714 0 24)"><path d="M3278 6996 c-1 -2 -39 -6 -83 -10 -798 -62 -1601 -438 -2176 -1019 -293 -296 -553 -671 -704 -1017 -25 -58 -50 -114 -55 -125 -45 -93 -150 -427 -176 -560 -2 -11 -10 -54 -19 -95 -22 -115 -30 -160 -41 -255 -26 -230 -26 -666 1 -826 2 -13 6 -46 9 -74 9 -78 22 -152 51 -285 21 -96 91 -339 114 -395 5 -11 25 -65 46 -120 63 -166 249 -531 312 -610 4 -6 34 -49 65 -95 261 -390 673 -772 1113 -1032 373 -221 845 -385 1274 -444 25 -3 57 -8 71 -10 163 -25 682 -25 842 1 13 2 46 7 73 10 71 10 87 13 115 18 14 3 43 8 65 12 325 59 741 212 1039 384 49 28 91 51 93 51 10 0 268 180 353 247 152 119 324 280 450 422 36 41 70 79 76 85 65 68 263 353 352 508 46 79 172 331 172 342 0 3 11 29 24 58 57 127 151 421 182 573 16 77 54 301 60 350 4 33 9 76 11 95 8 69 10 517 3 595 -14 151 -21 210 -25 225 -2 8 -7 35 -10 60 -17 129 -80 384 -136 552 -349 1039 -1171 1861 -2209 2207 -174 58 -415 118 -550 136 -19 3 -46 7 -60 10 -13 2 -54 7 -90 11 -36 3 -76 8 -90 11 -27 5 -536 14 -542 9z m522 -609 c14 -3 77 -13 140 -22 965 -137 1833 -807 2224 -1718 67 -156 141 -383 162 -497 3 -14 7 -33 10 -42 6 -20 9 -34 24 -128 6 -41 13 -86 16 -100 25 -157 26 -619 0 -755 -2 -11 -6 -41 -10 -66 -59 -406 -227 -834 -463 -1182 -142 -208 -336 -426 -513 -576 -30 -25 -60 -51 -67 -57 -37 -35 -228 -168 -326 -227 -291 -176 -694 -329 -982 -371 -22 -3 -51 -8 -65 -11 -35 -7 -93 -14 -180 -23 -91 -9 -473 -8 -550 1 -124 14 -161 20 -280 43 -69 14 -132 27 -141 29 -56 12 -260 76 -304 95 -11 4 -51 20 -88 34 -145 56 -361 169 -489 257 -31 22 -61 39 -66 39 -6 0 -12 3 -14 8 -1 4 -47 40 -100 80 -208 156 -414 368 -587 601 -112 152 -217 336 -315 554 -71 158 -170 486 -191 632 -1 11 -5 36 -9 55 -7 39 -11 70 -23 180 -15 146 -8 545 11 660 3 14 7 43 10 65 4 22 8 51 11 65 2 14 6 36 9 50 40 242 165 584 309 845 42 76 162 266 189 300 5 6 47 58 94 117 107 134 297 325 430 431 356 286 731 468 1184 575 81 20 105 24 195 37 22 3 49 7 60 10 11 2 56 7 100 11 44 4 82 8 84 10 5 5 474 -4 501 -9z"></path><path d="M3437 5244 c-1 -1 -29 -5 -62 -9 -215 -24 -402 -80 -591 -175 -351 -178 -559 -442 -591 -750 -30 -294 40 -488 249 -685 96 -91 185 -151 306 -207 81 -37 234 -92 285 -102 12 -2 42 -9 67 -15 59 -13 80 -17 240 -41 74 -11 146 -22 160 -24 14 -3 61 -10 105 -16 44 -7 87 -13 95 -15 8 -2 36 -6 62 -9 26 -4 91 -18 145 -32 54 -14 105 -27 113 -29 38 -8 205 -77 246 -101 71 -42 159 -129 184 -181 55 -117 24 -294 -74 -417 -101 -127 -363 -252 -591 -282 -27 -3 -59 -8 -70 -10 -28 -6 -265 -6 -295 0 -14 3 -44 7 -67 10 -105 12 -268 66 -369 122 -79 44 -127 79 -191 141 -78 76 -114 124 -163 219 -49 94 -75 123 -138 155 -90 45 -198 28 -271 -43 -84 -82 -97 -184 -40 -303 32 -65 83 -156 101 -180 4 -5 29 -37 55 -70 229 -288 583 -478 993 -533 73 -9 400 -9 470 2 541 78 978 372 1117 751 73 197 65 468 -18 642 -160 338 -532 541 -1129 617 -19 3 -78 11 -130 20 -52 8 -113 17 -135 21 -23 3 -50 7 -62 9 -11 3 -38 7 -59 11 -78 12 -100 16 -159 31 -202 52 -354 125 -445 215 -78 76 -104 136 -102 234 4 243 263 448 657 521 163 31 455 21 526 -16 10 -6 26 -10 36 -10 56 0 296 -149 358 -222 46 -54 82 -107 110 -162 40 -78 93 -130 158 -154 156 -59 319 55 321 223 0 52 -6 73 -47 155 -175 353 -547 607 -997 681 -62 10 -354 21 -363 13z"></path></g></svg>diff --git a/apps/client/src/widgets/type_widgets/options/llm/provider_icons.ts b/apps/client/src/widgets/type_widgets/options/llm/provider_icons.tsindex 507a3df1bd..a7d2dde460 100644--- a/apps/client/src/widgets/type_widgets/options/llm/provider_icons.ts+++ b/apps/client/src/widgets/type_widgets/options/llm/provider_icons.ts@@ -25,8 +25,8 @@ import ollamaIcon from "./icons/ollama.svg?url";import openaiIcon from "./icons/openai.svg?url";import perplexityIcon from "./icons/perplexity.svg?url";import openAiCompatibleIcon from "./icons/robot.svg?url";-import searchIcon from "./icons/search.svg?url";import searxngIcon from "./icons/searxng.svg?url";+import serperIcon from "./icons/serper.svg?url";import tavilyIcon from "./icons/tavily.svg?url";export const PROVIDER_ICONS: Record<string, string> = {@@ -45,7 +45,7 @@ export const PROVIDER_ICONS: Record<string, string> = {"openai-compatible": openAiCompatibleIcon,perplexity: perplexityIcon,searxng: searxngIcon,- serper: searchIcon,+ serper: serperIcon,tavily: tavilyIcon};