Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([insights-callprovider-nonjson-test]): fix stale function name in sentinel comment

[._.]/ Adam Eivyf712182c94d7
diff --git a/server/services/insightsService.js b/server/services/insightsService.js
index 882c74d005..13d70ae3ee 100644
--- a/server/services/insightsService.js
+++ b/server/services/insightsService.js
@@ -200,7 +200,7 @@ export async function callProviderAISimple(provider, model, prompt, { temperatur
// Sentinel fallback: a non-JSON/blank 200 body must surface as an error, not
// an empty `{ text: '' }` success — both callers persist the result
- // (refreshCrossDomainNarrative → narrative.json, generateInsightThemes →
+ // (refreshCrossDomainNarrative → narrative.json, generateThemeAnalysis →
// themes.json), so a masqueraded-empty success would overwrite the cached
// narrative/themes with nothing. A valid body (even one with empty content)
// still flows through unchanged.