unsloth/studio/backend/core/inference
danielhanchen 2d99937889 Enforce the enabled-tools allowlist and normalize healed tool arguments
Tool calls healed from raw <function=...> model text were executed without checking
the request's enabled tools, so a model could invoke terminal or python when only
web_search was offered. Filter parsed tool calls against the enabled tool names
before execution. Also normalize non-dict healed arguments to an empty dict so a
malformed <tool_call> payload cannot raise AttributeError and abort the response.
2026-07-06 10:32:35 +00:00
..
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
audio_codecs.py studio: per-model inference defaults, GGUF slider fix, reasoning toggle (#4325) 2026-03-16 06:37:55 -07:00
defaults.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
inference.py studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
llama_cpp.py Enforce the enabled-tools allowlist and normalize healed tool arguments 2026-07-06 10:32:35 +00:00
orchestrator.py feat(studio): infinite scroll for recommended models list (#4414) 2026-03-18 03:17:01 -07:00
tools.py Fix studio chat crash on Mac: vendor check_signal_escape_patterns (#4431) 2026-03-18 09:10:13 -07:00
worker.py Combine studio setup fixes: frontend caching, venv isolation, Windows CPU support (#4413) 2026-03-18 03:52:25 -07:00