unsloth/studio/backend/routes
Roland Tannous 0e7c8a2e5e Switch GGUF backend from /v1/completions to /v1/chat/completions
Fixes two bugs:
1. Chat template tags (<|im_start|>, <|im_end|>) leaking into output
   because /v1/completions treated them as literal text
2. Image hallucination because image_b64 was never passed to llama-server

Now llama-server handles chat templates natively and receives images
as OpenAI-format multimodal content parts for vision models.
2026-02-24 19:21:01 +04:00
..
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
__init__.py added the pydantic models and routes for export 2026-02-11 18:34:12 -07:00
auth.py fix: rollback auth.db user row if token generation fails during setup 2026-02-13 10:11:07 +00:00
datasets.py Simplify dataset check to 2-tier, improve multimodal detection, auto-set trainOnCompletions, recheck dataset on reload 2026-02-19 11:25:54 +00:00
export.py Adding metadata for checkpoints 2026-02-16 23:46:17 +00:00
inference.py Switch GGUF backend from /v1/completions to /v1/chat/completions 2026-02-24 19:21:01 +04:00
models.py Use llama-server -hf mode, add GGUF variant selector, fix vision detection 2026-02-24 19:03:06 +04:00
training.py feat: enhance training stop and reset flow with detailed checks 2026-02-17 23:32:22 +01:00