674e194dc9
The reload guard didn't include model_config.py. When the batch (B) field was added to TopologyConfig, Streamlit kept the stale pre-B dataclass in sys.modules and every downstream module hit "AttributeError: 'TopologyConfig' object has no attribute 'b'". Fix: add model_config and model_presets to the reload list, and order model_config FIRST so downstream modules that reload after it pick up the new dataclass definition. Also reordered the rest so upstream dependencies (autosuggest, memory_layout, stage_latencies) reload before their consumers (auto_explore, auto_hardware). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>