union_control_mode fell back to control_mode=0 (the canny head) for ANY unmapped control type, so a typo'd or unsupported value like 'detph' silently conditioned the map as canny instead of failing. preprocess_control passes non-canny maps through unchanged, so that map would be interpreted under the wrong mode with no error. Now only 'passthrough' (or an empty type) keeps the deliberate mode-0 default; any other unknown type raises ValueError, which the generate route maps to a 400. Known modes are unchanged. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_node_prebuilt.py | ||
| install_python_stack.py | ||
| install_sd_cpp_prebuilt.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||