unsloth/studio/backend
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
..
assets studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
auth fix: remove old comments (#4292) 2026-03-14 16:50:13 +04:00
core fix: fetch top search result page content for web_search tool 2026-03-27 13:34:52 +00:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models Detect always-on reasoning models and show Think button as locked-on (#4654) 2026-03-27 05:42:26 -07:00
plugins Bump Data Designer to 0.5.4 (removes litellm dependency) (#4569) 2026-03-25 02:01:43 -07:00
requirements fix: no-torch install deps without pulling torch transitively (#4650) 2026-03-27 05:19:26 -07:00
routes [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-03-27 13:33:58 +00:00
state Final cleanup 2026-03-12 18:28:04 +00:00
storage feat(studio): training history persistence and past runs viewer (#4501) 2026-03-25 00:58:55 -07:00
tests feat: support GGUF export for non-PEFT models + fix venv_t5 switching for local checkpoints (#4455) 2026-03-20 12:13:18 +04:00
utils fix: install.sh Mac Intel compatibility + Studio no-torch support (#4624) 2026-03-27 02:09:21 -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 Allow install_python_stack to run on Colab (#4633) 2026-03-27 00:29:27 +04:00
main.py fix: add auth + UX improvements to shutdown button (#4642) 2026-03-27 04:36:08 -07:00
run.py fix: add auth + UX improvements to shutdown button (#4642) 2026-03-27 04:36:08 -07:00
startup_banner.py studio: setup log styling (#4494) 2026-03-27 03:12:48 -07:00