Text Completion: Improve generic source model display

1dd97c139e87a1b1c513438aa25e08ea1512e28a

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +16 -1Ignore whitespace
public/img/generic.svg+15 -0
@@ -0,0 +1,15 @@
1+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+<svg
3+ width="616.86328"
4+ height="616.86328"
5+ viewBox="0 0 77.10791 77.10791"
6+ version="1.1"
7+ id="svg4"
8+ xmlns="http://www.w3.org/2000/svg"
9+ xmlns:svg="http://www.w3.org/2000/svg">
10+ <defs
11+ id="defs4" />
12+ <path
13+ id="circle1"
14+ d="M 38.553955,0 A 38.554,38.554 0 0 0 0,38.553955 38.554,38.554 0 0 0 38.553955,77.107911 38.554,38.554 0 0 0 77.107911,38.553955 38.554,38.554 0 0 0 38.553955,0 Z m -3.125976,13.545898 h 6.251953 v 19.593751 l 16.968751,-9.796875 3.125974,5.414306 -16.968506,9.796875 16.968506,9.796877 -3.125974,5.414305 -16.968751,-9.796874 V 63.56201 H 35.427979 V 43.968263 l -16.968506,9.796874 -3.125977,-5.414305 16.96875,-9.796877 -16.96875,-9.796875 3.125977,-5.414306 16.968506,9.796875 z" />
15+</svg>
public/script.js+1 -1
@@ -1223,7 +1223,7 @@ async function getStatusTextgen() {
12231223 setOnlineStatus(textgen_settings.tabby_model || data?.result);
12241224 } else if (textgen_settings.type === textgen_types.GENERIC) {
12251225 loadGenericModels(data?.data);
12261226 setOnlineStatus(textgen_settings.generic_model || data?.result || 'Connected');
12271227 } else {
12281228 setOnlineStatus(data?.result);
12291229 }