mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 17:50:10 +08:00
- context_window.py: raise MAX_EFFECTIVE_CONTEXT_WINDOW from 65536 to 1000000 (safety cap, not a ceiling for reasonable configs). Add LARGE_CONTEXT_MODEL_DEFAULT=65536 to break the circular reference where default_context_window_for_model() returned MAX_EFFECTIVE_CONTEXT_WINDOW, making default=ceiling=65536. User-configured values (via WebUI or model_catalog.json) are now respected instead of being truncated by min(x, 65536). All default values remain unchanged (65536). - capabilities.py: add supports_vision=True to MODEL_OVERRIDES['qwen'] so that qwen models are recognized as vision-capable regardless of binding (custom, dashscope, etc.), not just when binding=openai.