Spaces:
Running
Running
Commit History
-
Diagnostics: timeouts + structured logging on all model/media calls
Root cause of 'stuck at loading': none of the image/voice/skill/text fetches had a timeout, so a slow/hung backend spun forever. Added web/diag.js — diagFetch (timeout + timing + console log + ring buffer) and diagStream (connect + idle timeouts for SSE): - image /portrait: 120s ceiling - voice /qwen-tts + /voxcpm (synth + clone): 90s - skill + text /text/generate/stream: 30s connect, 60s idle-stall Calls now FAIL LOUDLY with a clear timing-stamped error instead of hanging. Every call is logged ([tinyarmy:kind] ✓/✗ in Ns) and recorded; dump with tinyDiag() in the console, or open Settings → Diagnostics for a live readout. Skill-forge icon failures now warn too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c90f2a6
-
Add Coding Model setting + Skill Forge sandbox
New "Coding Model" settings section (below Persona Prompt) selecting between two backends: • Nemotron 3 Nano 30B-A3B via NVIDIA NIM (integrate.api.nvidia.com, reasoning off) — too large to self-host on ZeroGPU. • Mellum2 12B-A2.5B via a ZeroGPU sidecar (polats/tiny-army-mellum-zerogpu), same /generate(+_stream) contract as the Aya/MiniCPM5 sidecars. New "Skill Forge" tab (Sandbox group, after Sprite Animations): pick a recruited hero, describe a skill, and the chosen coding model authors a tailored skill definition. Reuses personaStore (roster) + streamCoding. Backend: app.py routes mellum2-zerogpu and nemotron-3-nano-30b-nim model ids in /text/generate/stream; _nim_text_stream() streams NIM's OpenAI-compatible SSE. Frontend: codingModel.js store (separate from the persona/diary model), codingModelBar.js picker, shared sseText.js SSE reader (extracted from engineServer.js). Needs Space config: TINY_MELLUM_SPACE + NVIDIA_NIM_API_KEY. Co-Authored-By: Claude Opus 4.8 (1M c…1f1908e -
Move Nemotron text generation to WebGPU
b9bfeb6 -
Add Nemotron text generation option
1b55391 -
Add MiniCPM5 text generation option
22a51b2 -
Add Tiny Aya text generation option
f9dd2fe