unsloth/studio/backend/core/inference
Daniel Han 37fe04f7bf
studio: add SVG preview, fix streaming bug and model selector state (#4354)
- Add SVG preview rendering below code blocks using safe data URI
  in <img> tag. Includes sanitization to block script/event handlers.
- Fix GGUF streaming crash: cache response.iter_text() iterator
  instead of creating a new one on every loop iteration.
- Fix model selector showing "Select model..." after auto-load by
  re-reading store state after setCheckpoint before setParams.
- Remove unused warmupToastShown variable (TS6133 build error).
- Change default suggestion to "Draw an SVG of a cute sloth".
2026-03-17 02:34:05 -07:00
..
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
audio_codecs.py studio: per-model inference defaults, GGUF slider fix, reasoning toggle (#4325) 2026-03-16 06:37:55 -07:00
defaults.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
inference.py studio: per-model inference defaults, GGUF slider fix, reasoning toggle (#4325) 2026-03-16 06:37:55 -07:00
llama_cpp.py studio: add SVG preview, fix streaming bug and model selector state (#4354) 2026-03-17 02:34:05 -07:00
orchestrator.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-03-16 02:46:56 -07:00
tools.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
worker.py Set repetition_penalty default to 1.0 (disabled) everywhere 2026-03-16 02:46:56 -07:00