The _VISION_CHECK_SCRIPT subprocess used logger.info() but logger was never defined in the subprocess context. This caused a NameError on every vision check, making all transformers 5.x models (Qwen3.5, GLM, etc.) fall back to text-only mode even when they support vision. Replace logger.info() with print() since the parent process reads the subprocess stdout via result.stdout. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| tests | ||
| utils | ||
| __init__.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||