unsloth/studio/backend/utils/datasets
Roland Tannous c6bd55ec61
fix(llm_assist): disable thinking mode for helper model JSON output (#4358)
* fix(llm_assist): disable thinking mode for helper model JSON output

Pass enable_thinking=False to generate_chat_completion() in both
_run_with_helper() and _generate_with_backend() so the Qwen3.5-4B
helper model produces clean JSON instead of wrapping responses in
<think> tags.

* fix(llm_assist): log per-request enable_thinking=False override

Add info-level log lines so the user can see that each helper/advisor
request overrides the server-level thinking default to False.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-03-17 15:58:08 +04:00
..
__init__.py Update license headers 2026-03-12 17:23:10 +00:00
chat_templates.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
data_collators.py Final cleanup 2026-03-12 18:28:04 +00:00
dataset_utils.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
format_conversion.py Final cleanup 2026-03-12 18:28:04 +00:00
format_detection.py Final cleanup 2026-03-12 18:28:04 +00:00
llm_assist.py fix(llm_assist): disable thinking mode for helper model JSON output (#4358) 2026-03-17 15:58:08 +04:00
model_mappings.py Final cleanup 2026-03-12 18:28:04 +00:00
vlm_processing.py Final cleanup 2026-03-12 18:28:04 +00:00