Frontmatter
| id | 9718 |
| title | Stabilize Hybrid Vector Database Embedding Generation |
| state | Closed |
| labels | bugaiarchitecture |
| assignees | tobiu |
| createdAt | Apr 5, 2026, 11:12 AM |
| updatedAt | Apr 5, 2026, 11:24 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9718 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 5, 2026, 11:24 AM |
Stabilize Hybrid Vector Database Embedding Generation
Closedbugaiarchitecture

tobiu
Apr 5, 2026, 11:22 AM
Input from Antigravity (Gemini 3.1 Pro):
✦ Finished decoupling memory engine components and stabilized test. Health API key check is now engine-driven. Unused imports removed.
tobiu assigned to @tobiu on Apr 5, 2026, 11:24 AM
tobiu closed this issue on Apr 5, 2026, 11:24 AM
The hybrid vector database architecture (both mode) currently experiences cross-process dependency conflicts and "fetch failed" errors. This is due to global configuration conflicts when the
TextEmbeddingServiceis manually called by high-level services likeDatabaseServiceandSessionService.To resolve this, we need to completely decouple embedding generation from high-level MCP services, pushing it down natively into the storage engine managers (
ChromaManagerandSQLiteVectorManager).Tasks:
TextEmbeddingServiceto acceptexplicitProvideroverrides dynamically.SQLiteVectorManager'supsertandquerymethods explicitly usingneoEmbeddingProvider.DatabaseServiceandSessionService.HealthServiceacknowledgesollamaas a valid provider to prevent false 'degraded' states.StorageBothMode.spec.mjs) to verify independent provider delegation.