unsloth/studio/backend/core
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
..
data_recipe build(deps): bump oxc-parser (#4776) 2026-04-08 03:35:33 -07:00
export studio: stream export worker output into the export dialog (#4897) 2026-04-14 08:55:43 -07:00
inference Address review: gate synthesis nudge to small models and skip on errors 2026-04-16 11:31:57 +00:00
training [Studio] Install flash attn at setup time for linux (#4979) 2026-04-14 16:40:17 +04:00
__init__.py [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00