Skip to content

Release v2.7

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Jun 22:30

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.