Opus finding
settings._apply_preset crashes for the 'local' preset because key_slots references a missing dict key 'NER_API_KEY' mismatch
lowbuglow
- backend/app/api/settings.py:56-100
Low-confidence: only flagging because Config does expose all four attributes (LLM_API_KEY, SMART_API_KEY, NER_API_KEY, EMBEDDING_API_KEY) so setattr will succeed — actually this is fine. Withdrawing this finding.
Recommendation
n/a