unsloth/studio/backend/core
Daniel Han cab3ed41e9 fix: fetch top search result page content for web_search tool
The web_search tool previously returned only titles, URLs, and short
snippets from DuckDuckGo.  Small models would loop repeatedly trying
different search queries because the snippets never contained enough
data to answer the question.

Now fetches the actual page content for the top 1-2 search results
(best-effort, capped at 6000 chars and 10s timeout per fetch) and
includes it in the tool response.  This gives the model real data to
work with on the first search instead of endlessly retrying.

Uses only stdlib (urllib + re) so no new dependencies are needed.
2026-03-27 13:34:52 +00:00
..
data_recipe build(deps): bump oxc-parser (#4571) 2026-03-25 02:44:38 -07:00
export feat: support GGUF export for non-PEFT models + fix venv_t5 switching for local checkpoints (#4455) 2026-03-20 12:13:18 +04:00
inference fix: fetch top search result page content for web_search tool 2026-03-27 13:34:52 +00:00
training [Studio] Try installing causal-conv1d from prebuilt wheels if avialable (#4547) 2026-03-25 02:22:26 -07:00
__init__.py Combine studio setup fixes: frontend caching, venv isolation, Windows CPU support (#4413) 2026-03-18 03:52:25 -07:00