Spaces:
Paused
Paused
Savestate: Update dynamic island models to exactly match user screenshot names
Browse files- index.html +1 -1
- src/views/chat/chat-view.js +32 -41
index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view">
|
| 67 |
|
| 68 |
-
<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.
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
|
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view">
|
| 67 |
|
| 68 |
+
<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.191</div>
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
src/views/chat/chat-view.js
CHANGED
|
@@ -2140,32 +2140,30 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 2140 |
const useProfile = useProfileStr === null ? true : useProfileStr === 'true';
|
| 2141 |
|
| 2142 |
const modelNames = {
|
| 2143 |
-
// Gemini
|
| 2144 |
'gemini-3.5-flash': 'Gemini 3.5 Flash',
|
| 2145 |
'gemini-3.1-flash-lite': 'Gemini 3.1 Flash Lite',
|
| 2146 |
-
|
| 2147 |
-
// Gemini 3
|
| 2148 |
'gemini-3-flash-preview': 'Gemini 3 Flash Preview',
|
| 2149 |
-
|
| 2150 |
-
// Gemini 2.5
|
| 2151 |
'gemini-2.5-flash': 'Gemini 2.5 Flash',
|
| 2152 |
'gemini-2.5-flash-lite': 'Gemini 2.5 Flash Lite',
|
| 2153 |
|
| 2154 |
-
// Gemma
|
| 2155 |
'gemma-4-31b-it': 'Gemma 4 31B IT',
|
| 2156 |
'gemma-4-26b-a4b-it': 'Gemma 4 26B IT',
|
|
|
|
|
|
|
| 2157 |
|
| 2158 |
-
//
|
| 2159 |
-
'
|
| 2160 |
-
'
|
|
|
|
|
|
|
| 2161 |
|
| 2162 |
-
//
|
| 2163 |
-
'
|
| 2164 |
-
'
|
| 2165 |
-
|
| 2166 |
-
//
|
| 2167 |
-
'groq-llama-3.3-70b-versatile': 'Groq Llama 3.3 70B',
|
| 2168 |
-
'groq-mixtral-8x7b-32768': 'Groq Mixtral 8x7B',
|
| 2169 |
'ollama-llama3': 'Ollama Llama 3',
|
| 2170 |
'local-phone-qwen': 'Lokal Handy (Qwen)',
|
| 2171 |
'local-pc-llama': 'Lokal PC (Llama 3)'
|
|
@@ -2209,42 +2207,35 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 2209 |
{
|
| 2210 |
title: 'Gemini',
|
| 2211 |
models: [
|
| 2212 |
-
{ id: 'gemini-3.5-flash', desc: '
|
| 2213 |
-
{ id: 'gemini-3.1-flash-lite', desc: '
|
| 2214 |
-
{ id: 'gemini-3-flash-preview', desc: '
|
| 2215 |
-
{ id: 'gemini-2.5-flash', desc: '
|
| 2216 |
-
{ id: 'gemini-2.5-flash-lite', desc: 'Leichtgewicht' }
|
| 2217 |
-
]
|
| 2218 |
-
},
|
| 2219 |
-
{
|
| 2220 |
-
title: 'DeepSeek',
|
| 2221 |
-
models: [
|
| 2222 |
-
{ id: 'deepseek-chat', desc: 'V3 - Effizient' },
|
| 2223 |
-
{ id: 'deepseek-reasoner', desc: 'R1 - Deep Thinking' }
|
| 2224 |
]
|
| 2225 |
},
|
| 2226 |
{
|
| 2227 |
-
title: '
|
| 2228 |
models: [
|
| 2229 |
-
{ id: '
|
| 2230 |
-
{ id: '
|
|
|
|
|
|
|
| 2231 |
]
|
| 2232 |
},
|
| 2233 |
{
|
| 2234 |
-
title: '
|
| 2235 |
models: [
|
| 2236 |
-
{ id: '
|
| 2237 |
-
{ id: '
|
| 2238 |
-
{ id: '
|
| 2239 |
-
{ id: 'gemma-4-
|
| 2240 |
]
|
| 2241 |
},
|
| 2242 |
{
|
| 2243 |
-
title: '
|
| 2244 |
models: [
|
| 2245 |
-
{ id: '
|
| 2246 |
-
{ id: '
|
| 2247 |
-
{ id: 'local-pc-llama', desc: 'PC (WebGPU)' }
|
| 2248 |
]
|
| 2249 |
}
|
| 2250 |
].map(page => `
|
|
@@ -2253,7 +2244,7 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 2253 |
<div class="model-list-container" style="max-height: 250px; overflow-y: auto;">
|
| 2254 |
${page.models.map(m => `
|
| 2255 |
<div class="dropdown-item ${currentModel === m.id ? 'selected' : ''}" data-model="${m.id}">
|
| 2256 |
-
<div>${modelNames[m.id]}<div style="font-size: 12px; color: #888; font-weight: 400; margin-top: 2px;">${m.desc}</div></div>
|
| 2257 |
</div>
|
| 2258 |
`).join('')}
|
| 2259 |
</div>
|
|
|
|
| 2140 |
const useProfile = useProfileStr === null ? true : useProfileStr === 'true';
|
| 2141 |
|
| 2142 |
const modelNames = {
|
| 2143 |
+
// Gemini
|
| 2144 |
'gemini-3.5-flash': 'Gemini 3.5 Flash',
|
| 2145 |
'gemini-3.1-flash-lite': 'Gemini 3.1 Flash Lite',
|
|
|
|
|
|
|
| 2146 |
'gemini-3-flash-preview': 'Gemini 3 Flash Preview',
|
|
|
|
|
|
|
| 2147 |
'gemini-2.5-flash': 'Gemini 2.5 Flash',
|
| 2148 |
'gemini-2.5-flash-lite': 'Gemini 2.5 Flash Lite',
|
| 2149 |
|
| 2150 |
+
// Gemma & Groq
|
| 2151 |
'gemma-4-31b-it': 'Gemma 4 31B IT',
|
| 2152 |
'gemma-4-26b-a4b-it': 'Gemma 4 26B IT',
|
| 2153 |
+
'groq-llama-3.3-70b-versatile': 'Llama 3.3 70B (Groq)',
|
| 2154 |
+
'groq-llama3-70b-8192': 'llama3-70b-8192',
|
| 2155 |
|
| 2156 |
+
// OpenRouter (Mobile App)
|
| 2157 |
+
'openrouter-meta-llama-3.1-70b-instruct': 'Meta-Llama-3.1-70B-Instruct',
|
| 2158 |
+
'openrouter-codestral-latest': 'codestral-latest',
|
| 2159 |
+
'openrouter-qwen/qwen-2.5-coder-32b-instruct:free': 'qwen/qwen-2.5-coder-32b-instruct:free',
|
| 2160 |
+
'openrouter-gemma-4-31b': 'gemma-4-31b',
|
| 2161 |
|
| 2162 |
+
// DeepSeek V4
|
| 2163 |
+
'deepseek-v4-pro': 'DeepSeek V4 Pro',
|
| 2164 |
+
'deepseek-v4-flash': 'DeepSeek V4 Flash',
|
| 2165 |
+
|
| 2166 |
+
// Lokale Ausführung
|
|
|
|
|
|
|
| 2167 |
'ollama-llama3': 'Ollama Llama 3',
|
| 2168 |
'local-phone-qwen': 'Lokal Handy (Qwen)',
|
| 2169 |
'local-pc-llama': 'Lokal PC (Llama 3)'
|
|
|
|
| 2207 |
{
|
| 2208 |
title: 'Gemini',
|
| 2209 |
models: [
|
| 2210 |
+
{ id: 'gemini-3.5-flash', desc: '' },
|
| 2211 |
+
{ id: 'gemini-3.1-flash-lite', desc: '' },
|
| 2212 |
+
{ id: 'gemini-3-flash-preview', desc: '' },
|
| 2213 |
+
{ id: 'gemini-2.5-flash', desc: '' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2214 |
]
|
| 2215 |
},
|
| 2216 |
{
|
| 2217 |
+
title: 'Gemma & Groq',
|
| 2218 |
models: [
|
| 2219 |
+
{ id: 'gemma-4-31b-it', desc: '' },
|
| 2220 |
+
{ id: 'gemma-4-26b-a4b-it', desc: '' },
|
| 2221 |
+
{ id: 'groq-llama-3.3-70b-versatile', desc: '' },
|
| 2222 |
+
{ id: 'groq-llama3-70b-8192', desc: '' }
|
| 2223 |
]
|
| 2224 |
},
|
| 2225 |
{
|
| 2226 |
+
title: 'OpenRouter (Mobile App)',
|
| 2227 |
models: [
|
| 2228 |
+
{ id: 'openrouter-meta-llama-3.1-70b-instruct', desc: '' },
|
| 2229 |
+
{ id: 'openrouter-codestral-latest', desc: '' },
|
| 2230 |
+
{ id: 'openrouter-qwen/qwen-2.5-coder-32b-instruct:free', desc: '' },
|
| 2231 |
+
{ id: 'openrouter-gemma-4-31b', desc: '' }
|
| 2232 |
]
|
| 2233 |
},
|
| 2234 |
{
|
| 2235 |
+
title: 'DeepSeek V4',
|
| 2236 |
models: [
|
| 2237 |
+
{ id: 'deepseek-v4-pro', desc: '' },
|
| 2238 |
+
{ id: 'deepseek-v4-flash', desc: '' }
|
|
|
|
| 2239 |
]
|
| 2240 |
}
|
| 2241 |
].map(page => `
|
|
|
|
| 2244 |
<div class="model-list-container" style="max-height: 250px; overflow-y: auto;">
|
| 2245 |
${page.models.map(m => `
|
| 2246 |
<div class="dropdown-item ${currentModel === m.id ? 'selected' : ''}" data-model="${m.id}">
|
| 2247 |
+
<div>${modelNames[m.id]}${m.desc ? `<div style="font-size: 12px; color: #888; font-weight: 400; margin-top: 2px;">${m.desc}</div>` : ''}</div>
|
| 2248 |
</div>
|
| 2249 |
`).join('')}
|
| 2250 |
</div>
|