unsloth/studio/backend
Daniel Han f2d047ff06 Studio: speed up GitHub scraper and harden the support-bot recipe
Addresses a perf issue found while demoing the github_repo seed reader:

Scraper is too slow at scale. The PRs GraphQL query pulls deeply nested
fields (reviewThreads, reviews, commits, timelineItems, etc.) so the
page size was pinned at 3 to stay under GitHub's node-count ceiling. 100
PRs meant 34 serial round trips. Added lighter query variants
(PRS_PAGE_QUERY_LIGHT, ISSUES_PAGE_QUERY_LIGHT) that drop the fields the
Studio flatten layer does not use (it only reads title, body, state,
author, labels, comments). With the light query PR pages can safely go
to 25 per page and issues to 50. The plugin scraper now passes
light=True to RepoScraper so Studio always uses the fast path; the heavy
query remains available for other callers.

Recipe defaults are now demo-ready with production knobs called out:
- max_parallel_requests: 1 and max_tokens: 800 so small local models
  stay stable when running the support_answer structured column.
- support_answer prompt trimmed to 80-200 words so gemma-4-E2B GGUF can
  actually comply with the schema. The canonical 150-300 word codex
  prompt is still documented in the node3 markdown note for
  production upgrades.
2026-04-24 15:53:16 +00:00
..
assets Add Qwen3.6 inference defaults for Studio (#5065) 2026-04-16 11:42:42 -07:00
auth Add tauri (#5144) 2026-04-23 04:50:10 -07:00
core Studio: detect reasoning_effort and preserve_thinking in chat templates (#5149) 2026-04-23 06:57:36 -07:00
loggers Add tauri (#5144) 2026-04-23 04:50:10 -07:00
models Studio: detect reasoning_effort and preserve_thinking in chat templates (#5149) 2026-04-23 06:57:36 -07:00
plugins Studio: speed up GitHub scraper and harden the support-bot recipe 2026-04-24 15:53:16 +00:00
requirements fix: improve GitHub recipe support 2026-04-24 17:25:43 +02:00
routes Studio: detect reasoning_effort and preserve_thinking in chat templates (#5149) 2026-04-23 06:57:36 -07:00
state Final cleanup 2026-03-12 18:28:04 +00:00
storage feat: custom scan folders for GGUF model discovery (#4723) 2026-03-31 06:40:31 -07:00
tests Add tauri (#5144) 2026-04-23 04:50:10 -07:00
utils Add tauri (#5144) 2026-04-23 04:50:10 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
_platform_compat.py Fix Studio crash on Anaconda/conda-forge Python (#4484) 2026-03-22 05:36:55 -07:00
colab.py Fix/studio colab button message: Add fallback message for Colab Studio button when proxy URL fails (#4866) 2026-04-05 21:57:45 -07:00
main.py Add tauri (#5144) 2026-04-23 04:50:10 -07:00
run.py Add tauri (#5144) 2026-04-23 04:50:10 -07:00
startup_banner.py studio: unify Windows installer/setup logging style, verbosity controls, and startup messaging (#4651) 2026-03-30 00:53:23 -07:00