LearnNewsExamplesServices
Frontmatter
id9761
titleStabilize AI Provider Networking and Add Database Export Utility
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 7, 2026, 6:57 PM
updatedAtApr 7, 2026, 6:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/9761
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 7, 2026, 6:57 PM

Stabilize AI Provider Networking and Add Database Export Utility

Closedenhancementai
tobiu
tobiu commented on Apr 7, 2026, 6:57 PM
  • The Ollama provider and TextEmbeddingService were using native fetch which inherits an undocumented 5-minute timeout from undici, causing the heavy RAG pipelines to fail with HeadersTimeoutError during extraction.
  • Refactored Ollama.mjs and TextEmbeddingService.mjs to bypass fetch via the native http/https client and enforce an explicit 1 hour request timeout.
  • Introduced exportDatabase.mjs to serialize the SQLite Native Edge Graph to a JSONL backup.
tobiu added the enhancement label on Apr 7, 2026, 6:57 PM
tobiu added the ai label on Apr 7, 2026, 6:57 PM
tobiu referenced in commit 5047591 - "feat(ai): Stabilize AI Provider Networking and Add Database Export Utility (#9761)" on Apr 7, 2026, 6:57 PM
tobiu assigned to @tobiu on Apr 7, 2026, 6:57 PM
tobiu
tobiu Apr 7, 2026, 6:57 PM

Successfully replaced native node fetch with http/https client in TextEmbeddingService.mjs and Ollama.mjs to bypass the strictly undocumented 5-minute HeadersTimeout from undici. Added exportDatabase.mjs script to export graphs locally to JSONL backups as required.

tobiu closed this issue on Apr 7, 2026, 6:57 PM