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. |
||
|---|---|---|
| .. | ||
| data_recipe | ||
| export | ||
| inference | ||
| rag | ||
| training | ||
| __init__.py | ||
| _torchao_stub.py | ||
| import_guards.py | ||
| tool_healing.py | ||