Differentiate web_search query searches from URL fetches in the Studio chat UI. Backend (llama_cpp.py): - Emit "Reading: hostname" for URL fetches and "Searching: query" for query searches in SSE status events - Only show hostname for valid http/https URLs; schemeless/non-http URLs get "Reading page..." generic fallback - Strip www. prefix for consistency with the frontend Frontend (tool-ui-web-search.tsx): - Tool card shows "Read hostname" / "Reading hostname..." for URL fetches - Shows "Searched query" / "Searching for query..." for query searches - Uses new URL() with protocol check; falls back to "Read page" / "Reading page..." for non-http URLs |
||
|---|---|---|
| .. | ||
| 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 | ||