Skip to content

fix(llm): load persisted settings lazily, not in the constructor - #73

Open
Anurag-Wednesday wants to merge 1 commit into
mainfrom
fix/llm-lazy-settings-load
Open

fix(llm): load persisted settings lazily, not in the constructor#73
Anurag-Wednesday wants to merge 1 commit into
mainfrom
fix/llm-lazy-settings-load

fix(llm): load persisted settings lazily, not in the constructor

fe12d1d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 31, 2026 in 5m 6s

Annotations

Check failure on line 175 in src/main/llm.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ-3uSKP4jRcM_Pvw1OZ&open=AZ-3uSKP4jRcM_Pvw1OZ&pullRequest=73