diff --git a/network-poc/static/index.html b/network-poc/static/index.html
index 188c0de..5f89912 100644
--- a/network-poc/static/index.html
+++ b/network-poc/static/index.html
@@ -2226,35 +2226,14 @@ Write the corrected code.`;
}
if (sub === 'load') {
- const arg = parts[2];
const btn = document.getElementById('agent-compute-btn');
- // Mallikatalogista valinta numerolla tai nimellä
- const loadModels = [
- { id: '1', key: '05b', name: 'Qwen2.5-Coder:0.5B', size: '~990 MB', coderSize: '05b' },
- { id: '2', key: '3b', name: 'Qwen2.5-Coder:1.5B Q4', size: '~1 GB', coderSize: '3b' },
- ];
- if (!arg) {
- // Näytetään lista
- termLog(' Ladattavat mallit:', '#c9d1d9');
- for (const m of loadModels) {
- const active = (btn?.dataset.state === 'ready' && coderSize === m.coderSize) ? ' ✓ ladattu' : '';
- termLog(` ${m.id} ${m.name} (${m.size})${active}`);
- }
- termLog(' Käyttö: kpn load <numero>', '#8b949e');
+ if (btn?.dataset.state === 'ready') {
+ termLog(' ✓ Qwen2.5-Coder:0.5B on jo ladattu ja valmis', '#3fb950');
return;
}
- const selected = loadModels.find(m => m.id === arg || m.key === arg || m.coderSize === arg);
- if (!selected) {
- termLog(` Tuntematon malli "${esc(arg)}". Kokeile: kpn load`, '#f85149');
- return;
- }
- if (btn?.dataset.state === 'ready' && coderSize === selected.coderSize) {
- termLog(` ✓ ${selected.name} on jo ladattu ja valmis`, '#3fb950');
- return;
- }
- coderSize = selected.coderSize;
+ coderSize = '05b';
localStorage.setItem('kpn-coder-size', coderSize);
- termLog(` Alustetaan ${selected.name} (${selected.size})...`, '#d29922');
+ termLog(' Alustetaan Qwen2.5-Coder:0.5B (~990 MB)...', '#d29922');
if (btn) btn.click();
else ensureCoderNode();
return;