unsloth/studio/backend
Daniel Han 9dff999ed6 Address review: gate synthesis nudge to small models and skip on errors
- Synthesis nudge (both route-level and loop-level) now only applies to
  small models (<9B). Large models handle multi-step tool use correctly
  (e.g. web_search(query) -> web_search(url=...) -> python(...)) and
  should not be told "Tool calls are no longer needed."

- Added synthesise_after_tool_result parameter to
  generate_chat_completion_with_tools(). Routes pass True only when
  _is_small_model, so the loop-level nudge is also model-size-aware.

- Renamed _has_tool_result_in_current_turn to
  _has_successful_tool_result_in_current_turn. Now checks tool result
  content against error prefixes (Error, Failed to fetch, Blocked, etc.)
  so error-only tool results don't prematurely force synthesis -- the
  model can retry with a different query instead.
2026-04-16 11:31:57 +00:00
..
assets Add Gemma 4 model sampling defaults (#4838) 2026-04-03 13:57:15 -07:00
auth Studio: Expose openai and anthropic compatible external API end points (#4956) 2026-04-13 21:08:11 +04:00
core Address review: gate synthesis nudge to small models and skip on errors 2026-04-16 11:31:57 +00:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models Studio: add folder browser modal for Custom Folders (#5035) 2026-04-15 08:04:33 -07:00
plugins Bump Data Designer to 0.5.4 (removes litellm dependency) (#4569) 2026-03-25 02:01:43 -07:00
requirements studio: pin peft to 0.18.1 to fix export subprocess issues (#5015) 2026-04-14 20:16:30 +04:00
routes Address review: gate synthesis nudge to small models and skip on errors 2026-04-16 11:31:57 +00:00
state Final cleanup 2026-03-12 18:28:04 +00:00
storage feat: custom scan folders for GGUF model discovery (#4723) 2026-03-31 06:40:31 -07:00
tests Studio: add folder browser modal for Custom Folders (#5035) 2026-04-15 08:04:33 -07:00
utils Studio: add folder browser modal for Custom Folders (#5035) 2026-04-15 08:04:33 -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 Fix/studio colab button message: Add fallback message for Colab Studio button when proxy URL fails (#4866) 2026-04-05 21:57:45 -07:00
main.py studio: fix api-keys access + refresh (#5005) 2026-04-13 23:48:51 +04:00
run.py Studio: Expose openai and anthropic compatible external API end points (#4956) 2026-04-13 21:08:11 +04:00
startup_banner.py studio: unify Windows installer/setup logging style, verbosity controls, and startup messaging (#4651) 2026-03-30 00:53:23 -07:00