fix: resolve config shadowing crash for custom/LM Studio models
In resolve_model_config(), the local variable 'config' shadowed the
imported config module. For models not in _llm_config_map (LM Studio,
custom API), the local was None, causing AttributeError on
config.CUSTOM_API_MODEL. Rename local to 'cfg' to fix the crash.