unsloth/studio
Daniel Han 9807cdf039 Studio: surface per-call web_search sources, full shell command, exit_code, transparent image overlay
Backend (external_provider.py):
- Request `include=[web_search_call.action.sources, web_search_call.results]`
  so each web_search card has its consulted URLs and (for reasoning
  models) the search-result snippets attached. Format them as the
  Title/URL/Snippet blocks the frontend's source-pill parser already
  understands, so every search card now surfaces real sources instead
  of repeating the trigger label.
- _format_shell_output now always emits exit_code (not just non-zero),
  reads stdout from `stdout`/`text`/`content` for tolerance across
  shell_call_output revisions, and dumps the raw entry dict as a
  fallback when no recognised text fields are present so the user
  still sees what OpenAI sent. Drops the literal "(no output)" string
  in favour of an empty result; the frontend renders a friendlier
  placeholder.

Frontend:
- tool-ui-code-execution.tsx: expanded card now renders the full
  untruncated command in its own labelled block above the output, so
  long heredocs clipped in the trigger are reachable. Empty output is
  rendered as italic "Command completed with no output." instead of
  showing nothing.
- tool-ui-web-search.tsx: removed the <pre> fallback that just echoed
  the trigger label back; non-search cards now link to the page URL
  when no sources are present.
- thread.tsx: image overlay container is now transparent (no muted
  background, no border ring); the image itself carries the rounded
  corners and the buttons float over its top-right corner so no
  yellow frame appears around narrow images.

Tests: 2 new web_search source-formatting tests; 66/66 pass.
2026-05-26 12:53:58 +00:00
..
backend Studio: surface per-call web_search sources, full shell command, exit_code, transparent image overlay 2026-05-26 12:53:58 +00:00
frontend Studio: surface per-call web_search sources, full shell command, exit_code, transparent image overlay 2026-05-26 12:53:58 +00:00
src-tauri Fix Windows workflow issues(#5694) 2026-05-22 05:32:30 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py ci: broaden Linux + narrow Windows llama.cpp runtime patterns + trim #5741 comments (#5746) 2026-05-23 21:48:12 -07:00
install_python_stack.py ci: broaden Linux + narrow Windows llama.cpp runtime patterns + trim #5741 comments (#5746) 2026-05-23 21:48:12 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
package-lock.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
package.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 studio: regenerate desktop launcher on unsloth studio update (macOS + Linux + Windows) (#5577) 2026-05-19 05:49:10 -07:00
setup.sh Route CPU-only Linux x86_64 to ggml-org/llama.cpp prebuilts (#5302) 2026-05-05 23:22:22 -07:00
Unsloth_Studio_Colab.ipynb studio: add --local to setup.sh + overlay unsloth-zoo from git main (#5252) 2026-05-02 08:51:56 +04:00