Frontmatter
| id | 9761 |
| title | Stabilize AI Provider Networking and Add Database Export Utility |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Apr 7, 2026, 6:57 PM |
| updatedAt | Apr 7, 2026, 6:57 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9761 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 7, 2026, 6:57 PM |
Stabilize AI Provider Networking and Add Database Export Utility
Closedenhancementai
tobiu assigned to @tobiu on Apr 7, 2026, 6:57 PM

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
TextEmbeddingServicewere using nativefetchwhich inherits an undocumented 5-minute timeout fromundici, causing the heavy RAG pipelines to fail withHeadersTimeoutErrorduring extraction.Ollama.mjsandTextEmbeddingService.mjsto bypassfetchvia the nativehttp/httpsclient and enforce an explicit 1 hour request timeout.exportDatabase.mjsto serialize the SQLite Native Edge Graph to a JSONL backup.