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. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||