fix: Correct second occurrence of config field name in _generate_config_references

- Fixed KeyError at line 760 (same issue as line 532)
- Both ARCHITECTURE.md and config reference generation now use 'type'
- All config_type references replaced with correct 'type' field
This commit is contained in:
yusyus
2026-01-04 22:31:34 +03:00
parent a7f0a8e62e
commit 7dda879e92

View File

@@ -757,7 +757,7 @@ This skill combines knowledge from multiple sources:
f.write("## Configuration Files\n\n")
for cf in config_files:
f.write(f"### `{cf['relative_path']}`\n\n")
f.write(f"- **Type**: {cf['config_type']}\n")
f.write(f"- **Type**: {cf['type']}\n")
f.write(f"- **Purpose**: {cf.get('purpose', 'N/A')}\n")
f.write(f"- **Settings**: {len(cf.get('settings', []))}\n")