Spaces:
Paused
Paused
Savestate: Filter AI models to only show user requested models, bump version to 1.8.34
Browse files- index.html +1 -1
- src/views/chat/chat-view.js +15 -62
- src/views/scan/scan-view.js +9 -3
- src/views/settings/settings-view.js +13 -15
index.html
CHANGED
|
@@ -51,7 +51,7 @@
|
|
| 51 |
</head>
|
| 52 |
<body class="dark-theme in-chat-view">
|
| 53 |
|
| 54 |
-
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.
|
| 55 |
|
| 56 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 57 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
|
|
|
| 51 |
</head>
|
| 52 |
<body class="dark-theme in-chat-view">
|
| 53 |
|
| 54 |
+
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.34</div>
|
| 55 |
|
| 56 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 57 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
src/views/chat/chat-view.js
CHANGED
|
@@ -2099,48 +2099,25 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 2099 |
const useProfile = useProfileStr === null ? true : useProfileStr === 'true';
|
| 2100 |
|
| 2101 |
const modelNames = {
|
| 2102 |
-
// Latest & Experimental
|
| 2103 |
-
'antigravity-preview-05-2026': 'Antigravity Preview (05-2026)',
|
| 2104 |
-
'deep-research-max-preview-04-2026': 'Deep Research Max Preview',
|
| 2105 |
-
'deep-research-preview-04-2026': 'Deep Research Preview',
|
| 2106 |
-
'deep-research-pro-preview-12-2025': 'Deep Research Pro Preview',
|
| 2107 |
-
|
| 2108 |
// Gemini 3.5 & 3.1
|
| 2109 |
'gemini-3.5-flash': 'Gemini 3.5 Flash',
|
| 2110 |
-
'gemini-3.5-live-translate-preview': 'Gemini 3.5 Live Translate',
|
| 2111 |
-
'gemini-3.1-pro-preview': 'Gemini 3.1 Pro Preview',
|
| 2112 |
-
'gemini-3.1-pro-preview-customtools': 'Gemini 3.1 Pro (Custom Tools)',
|
| 2113 |
'gemini-3.1-flash-lite': 'Gemini 3.1 Flash Lite',
|
| 2114 |
-
'gemini-3.1-flash-lite-preview': 'Gemini 3.1 Flash Lite Preview',
|
| 2115 |
-
'gemini-3.1-flash-live-preview': 'Gemini 3.1 Flash Live Preview',
|
| 2116 |
|
| 2117 |
// Gemini 3
|
| 2118 |
-
'gemini-3-pro-preview': 'Gemini 3 Pro Preview',
|
| 2119 |
'gemini-3-flash-preview': 'Gemini 3 Flash Preview',
|
| 2120 |
|
| 2121 |
// Gemini 2.5
|
| 2122 |
-
'gemini-2.5-pro': 'Gemini 2.5 Pro',
|
| 2123 |
'gemini-2.5-flash': 'Gemini 2.5 Flash',
|
| 2124 |
'gemini-2.5-flash-lite': 'Gemini 2.5 Flash Lite',
|
| 2125 |
-
'gemini-2.5-computer-use-preview-10-2025': 'Gemini 2.5 Computer Use',
|
| 2126 |
-
|
| 2127 |
-
// Gemini 2.0
|
| 2128 |
-
'gemini-2.0-flash': 'Gemini 2.0 Flash',
|
| 2129 |
-
'gemini-2.0-flash-001': 'Gemini 2.0 Flash (001)',
|
| 2130 |
-
'gemini-2.0-flash-lite': 'Gemini 2.0 Flash Lite',
|
| 2131 |
|
| 2132 |
-
//
|
| 2133 |
-
'lyria-3-pro-preview': 'Lyria 3 Pro Preview',
|
| 2134 |
-
'lyria-3-clip-preview': 'Lyria 3 Clip Preview',
|
| 2135 |
-
'nano-banana-pro-preview': 'Nano Banana Pro Preview',
|
| 2136 |
-
'gemini-robotics-er-1.6-preview': 'Gemini Robotics ER 1.6',
|
| 2137 |
'gemma-4-31b-it': 'Gemma 4 31B IT',
|
| 2138 |
'gemma-4-26b-a4b-it': 'Gemma 4 26B IT',
|
| 2139 |
|
| 2140 |
-
//
|
| 2141 |
-
'
|
| 2142 |
-
'
|
| 2143 |
-
'
|
| 2144 |
};
|
| 2145 |
const displayModel = modelNames[currentModel] || currentModel;
|
| 2146 |
const msgs = db.getMessages(this.currentConversationId);
|
|
@@ -2179,52 +2156,28 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 2179 |
<!-- Dynamically generated pages -->
|
| 2180 |
${[
|
| 2181 |
{
|
| 2182 |
-
title: 'Gemini
|
| 2183 |
-
models: [
|
| 2184 |
-
{ id: 'antigravity-preview-05-2026', desc: 'Experimentell' },
|
| 2185 |
-
{ id: 'deep-research-max-preview-04-2026', desc: 'Max. Recherche' },
|
| 2186 |
-
{ id: 'deep-research-preview-04-2026', desc: 'Recherche' },
|
| 2187 |
-
{ id: 'deep-research-pro-preview-12-2025', desc: 'Pro Recherche' },
|
| 2188 |
-
{ id: 'gemini-3.5-flash', desc: 'Ultra Schnell' },
|
| 2189 |
-
{ id: 'gemini-3.5-live-translate-preview', desc: 'Übersetzung' },
|
| 2190 |
-
{ id: 'gemini-3.1-pro-preview', desc: 'Pro Features' },
|
| 2191 |
-
{ id: 'gemini-3.1-pro-preview-customtools', desc: 'Custom Tools' }
|
| 2192 |
-
]
|
| 2193 |
-
},
|
| 2194 |
-
{
|
| 2195 |
-
title: 'Gemini 3 & 2',
|
| 2196 |
models: [
|
|
|
|
| 2197 |
{ id: 'gemini-3.1-flash-lite', desc: 'Effizient' },
|
| 2198 |
-
{ id: 'gemini-3.1-flash-lite-preview', desc: 'Effizient Preview' },
|
| 2199 |
-
{ id: 'gemini-3.1-flash-live-preview', desc: 'Live Preview' },
|
| 2200 |
-
{ id: 'gemini-3-pro-preview', desc: 'Pro Preview' },
|
| 2201 |
{ id: 'gemini-3-flash-preview', desc: 'Flash Preview' },
|
| 2202 |
-
{ id: 'gemini-2.5-
|
| 2203 |
-
{ id: 'gemini-2.5-flash', desc: '
|
| 2204 |
-
{ id: 'gemini-2.5-flash-lite', desc: 'Leichtgewicht' },
|
| 2205 |
-
{ id: 'gemini-2.5-computer-use-preview-10-2025', desc: 'Computer Use' },
|
| 2206 |
-
{ id: 'gemini-2.0-flash', desc: 'Standard Flash' },
|
| 2207 |
-
{ id: 'gemini-2.0-flash-001', desc: 'Version 001' },
|
| 2208 |
-
{ id: 'gemini-2.0-flash-lite', desc: 'Lite Standard' }
|
| 2209 |
]
|
| 2210 |
},
|
| 2211 |
{
|
| 2212 |
-
title: '
|
| 2213 |
models: [
|
| 2214 |
-
{ id: 'lyria-3-pro-preview', desc: 'Audio/Video Pro' },
|
| 2215 |
-
{ id: 'lyria-3-clip-preview', desc: 'Audio/Video Clip' },
|
| 2216 |
-
{ id: 'nano-banana-pro-preview', desc: 'On-Device Pro' },
|
| 2217 |
-
{ id: 'gemini-robotics-er-1.6-preview', desc: 'Robotik Modell' },
|
| 2218 |
{ id: 'gemma-4-31b-it', desc: 'Open Weights 31B' },
|
| 2219 |
-
{ id: 'gemma-4-26b-a4b-it', desc: 'Open Weights 26B' }
|
|
|
|
| 2220 |
]
|
| 2221 |
},
|
| 2222 |
{
|
| 2223 |
-
title: '
|
| 2224 |
models: [
|
| 2225 |
-
{ id: '
|
| 2226 |
-
{ id: '
|
| 2227 |
-
{ id: 'ollama-qwen2.5', desc: 'Lokal Qwen 2.5' }
|
| 2228 |
]
|
| 2229 |
}
|
| 2230 |
].map(page => `
|
|
|
|
| 2099 |
const useProfile = useProfileStr === null ? true : useProfileStr === 'true';
|
| 2100 |
|
| 2101 |
const modelNames = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2102 |
// Gemini 3.5 & 3.1
|
| 2103 |
'gemini-3.5-flash': 'Gemini 3.5 Flash',
|
|
|
|
|
|
|
|
|
|
| 2104 |
'gemini-3.1-flash-lite': 'Gemini 3.1 Flash Lite',
|
|
|
|
|
|
|
| 2105 |
|
| 2106 |
// Gemini 3
|
|
|
|
| 2107 |
'gemini-3-flash-preview': 'Gemini 3 Flash Preview',
|
| 2108 |
|
| 2109 |
// Gemini 2.5
|
|
|
|
| 2110 |
'gemini-2.5-flash': 'Gemini 2.5 Flash',
|
| 2111 |
'gemini-2.5-flash-lite': 'Gemini 2.5 Flash Lite',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2112 |
|
| 2113 |
+
// Gemma
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2114 |
'gemma-4-31b-it': 'Gemma 4 31B IT',
|
| 2115 |
'gemma-4-26b-a4b-it': 'Gemma 4 26B IT',
|
| 2116 |
|
| 2117 |
+
// Third Party & Lokal
|
| 2118 |
+
'groq-llama-3.3-70b-versatile': 'Llama 3.3 70B',
|
| 2119 |
+
'local-phone-qwen': 'Lokal Handy (Qwen)',
|
| 2120 |
+
'local-pc-llama': 'Lokal PC (Llama 3)'
|
| 2121 |
};
|
| 2122 |
const displayModel = modelNames[currentModel] || currentModel;
|
| 2123 |
const msgs = db.getMessages(this.currentConversationId);
|
|
|
|
| 2156 |
<!-- Dynamically generated pages -->
|
| 2157 |
${[
|
| 2158 |
{
|
| 2159 |
+
title: 'Gemini',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2160 |
models: [
|
| 2161 |
+
{ id: 'gemini-3.5-flash', desc: 'Sehr schnell' },
|
| 2162 |
{ id: 'gemini-3.1-flash-lite', desc: 'Effizient' },
|
|
|
|
|
|
|
|
|
|
| 2163 |
{ id: 'gemini-3-flash-preview', desc: 'Flash Preview' },
|
| 2164 |
+
{ id: 'gemini-2.5-flash', desc: 'Solide' },
|
| 2165 |
+
{ id: 'gemini-2.5-flash-lite', desc: 'Leichtgewicht' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2166 |
]
|
| 2167 |
},
|
| 2168 |
{
|
| 2169 |
+
title: 'Gemma & Llama',
|
| 2170 |
models: [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2171 |
{ id: 'gemma-4-31b-it', desc: 'Open Weights 31B' },
|
| 2172 |
+
{ id: 'gemma-4-26b-a4b-it', desc: 'Open Weights 26B' },
|
| 2173 |
+
{ id: 'groq-llama-3.3-70b-versatile', desc: 'Llama 3.3 70B' }
|
| 2174 |
]
|
| 2175 |
},
|
| 2176 |
{
|
| 2177 |
+
title: 'Lokale Ausführung',
|
| 2178 |
models: [
|
| 2179 |
+
{ id: 'local-phone-qwen', desc: 'Handy (Qwen 1.5B)' },
|
| 2180 |
+
{ id: 'local-pc-llama', desc: 'PC (Llama 3 8B)' }
|
|
|
|
| 2181 |
]
|
| 2182 |
}
|
| 2183 |
].map(page => `
|
src/views/scan/scan-view.js
CHANGED
|
@@ -100,9 +100,15 @@ export class ScanView {
|
|
| 100 |
<div style="margin-top: 24px; width: 100%; max-width: 300px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1);">
|
| 101 |
<label style="display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 6px; text-align: left;">Scan-Modell</label>
|
| 102 |
<select id="scan-local-model" style="width: 100%; padding: 10px; border-radius: 8px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: white; font-size: 14px; outline: none; appearance: none;">
|
| 103 |
-
<option value="gemini-3-flash
|
| 104 |
-
<option value="gemini-3.
|
| 105 |
-
<option value="gemini-3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
</select>
|
| 107 |
</div>
|
| 108 |
</div>
|
|
|
|
| 100 |
<div style="margin-top: 24px; width: 100%; max-width: 300px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1);">
|
| 101 |
<label style="display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 6px; text-align: left;">Scan-Modell</label>
|
| 102 |
<select id="scan-local-model" style="width: 100%; padding: 10px; border-radius: 8px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: white; font-size: 14px; outline: none; appearance: none;">
|
| 103 |
+
<option value="gemini-3.5-flash">Gemini 3.5 Flash (Schnell & Standard)</option>
|
| 104 |
+
<option value="gemini-3.1-flash-lite">Gemini 3.1 Flash Lite (Effizient)</option>
|
| 105 |
+
<option value="gemini-3-flash-preview">Gemini 3 Flash Preview (Sehr Stabil)</option>
|
| 106 |
+
<option value="gemini-2.5-flash">Gemini 2.5 Flash</option>
|
| 107 |
+
<option value="gemini-2.5-flash-lite">Gemini 2.5 Flash Lite</option>
|
| 108 |
+
<option value="gemma-4-31b-it">Gemma 4 31B (Open Weights)</option>
|
| 109 |
+
<option value="groq-llama-3.3-70b-versatile">Llama 3.3 70B (Groq)</option>
|
| 110 |
+
<option value="local-phone-qwen">Lokal Handy (Qwen 1.5B)</option>
|
| 111 |
+
<option value="local-pc-llama">Lokal PC (Llama 3 8B)</option>
|
| 112 |
</select>
|
| 113 |
</div>
|
| 114 |
</div>
|
src/views/settings/settings-view.js
CHANGED
|
@@ -46,23 +46,21 @@ export class SettingsView {
|
|
| 46 |
|
| 47 |
<label style="display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 14px;">Aktives Modell</label>
|
| 48 |
<select id="model-select" style="width: 100%; padding: 12px; border-radius: 12px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: white; font-family: var(--font-ui); font-size: 16px; margin-bottom: 16px; outline: none; appearance: none;">
|
| 49 |
-
<optgroup label="Google Gemini
|
| 50 |
-
<option value="gemini-3.5-flash" ${currentModel === 'gemini-3.5-flash' ? 'selected' : ''}>Gemini 3.5 Flash
|
| 51 |
-
<option value="gemini-
|
| 52 |
-
<option value="gemini-
|
|
|
|
|
|
|
| 53 |
</optgroup>
|
| 54 |
-
<optgroup label="
|
| 55 |
-
<option value="
|
| 56 |
-
<option value="
|
| 57 |
-
<option value="groq-
|
| 58 |
</optgroup>
|
| 59 |
-
<optgroup label="
|
| 60 |
-
<option value="
|
| 61 |
-
<option value="
|
| 62 |
-
</optgroup>
|
| 63 |
-
<optgroup label="Lokal (Ollama / Tailscale)">
|
| 64 |
-
<option value="ollama-llama3" ${currentModel === 'ollama-llama3' ? 'selected' : ''}>Llama 3 (Lokal)</option>
|
| 65 |
-
<option value="ollama-qwen2.5" ${currentModel === 'ollama-qwen2.5' ? 'selected' : ''}>Qwen 2.5 (Lokal)</option>
|
| 66 |
</optgroup>
|
| 67 |
</select>
|
| 68 |
|
|
|
|
| 46 |
|
| 47 |
<label style="display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 14px;">Aktives Modell</label>
|
| 48 |
<select id="model-select" style="width: 100%; padding: 12px; border-radius: 12px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: white; font-family: var(--font-ui); font-size: 16px; margin-bottom: 16px; outline: none; appearance: none;">
|
| 49 |
+
<optgroup label="Google Gemini">
|
| 50 |
+
<option value="gemini-3.5-flash" ${currentModel === 'gemini-3.5-flash' ? 'selected' : ''}>Gemini 3.5 Flash</option>
|
| 51 |
+
<option value="gemini-3.1-flash-lite" ${currentModel === 'gemini-3.1-flash-lite' ? 'selected' : ''}>Gemini 3.1 Flash Lite</option>
|
| 52 |
+
<option value="gemini-3-flash-preview" ${currentModel === 'gemini-3-flash-preview' ? 'selected' : ''}>Gemini 3 Flash Preview</option>
|
| 53 |
+
<option value="gemini-2.5-flash" ${currentModel === 'gemini-2.5-flash' ? 'selected' : ''}>Gemini 2.5 Flash</option>
|
| 54 |
+
<option value="gemini-2.5-flash-lite" ${currentModel === 'gemini-2.5-flash-lite' ? 'selected' : ''}>Gemini 2.5 Flash Lite</option>
|
| 55 |
</optgroup>
|
| 56 |
+
<optgroup label="Gemma & Groq">
|
| 57 |
+
<option value="gemma-4-31b-it" ${currentModel === 'gemma-4-31b-it' ? 'selected' : ''}>Gemma 4 31B IT</option>
|
| 58 |
+
<option value="gemma-4-26b-a4b-it" ${currentModel === 'gemma-4-26b-a4b-it' ? 'selected' : ''}>Gemma 4 26B IT</option>
|
| 59 |
+
<option value="groq-llama-3.3-70b-versatile" ${currentModel === 'groq-llama-3.3-70b-versatile' ? 'selected' : ''}>Llama 3.3 70B (Groq)</option>
|
| 60 |
</optgroup>
|
| 61 |
+
<optgroup label="Lokal">
|
| 62 |
+
<option value="local-phone-qwen" ${currentModel === 'local-phone-qwen' ? 'selected' : ''}>Lokal Handy (Qwen 1.5B)</option>
|
| 63 |
+
<option value="local-pc-llama" ${currentModel === 'local-pc-llama' ? 'selected' : ''}>Lokal PC (Llama 3 8B)</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
</optgroup>
|
| 65 |
</select>
|
| 66 |
|