Frontmatter
| id | 8000 |
| title | Allow Memory Core to start without GEMINI_API_KEY (TextEmbeddingService) |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 2, 2025, 8:57 PM |
| updatedAt | Dec 2, 2025, 9:38 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8000 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 2, 2025, 9:38 PM |
TextEmbeddingServicecurrently throws an error in itsconstructmethod ifGEMINI_API_KEYis missing. This prevents the Memory Core server from starting in a degraded state, which is the intended behavior when the key is not configured (e.g. for database lifecycle management only).Error:
Error: The GEMINI_API_KEY environment variable must be set to use semantic search endpoints. at TextEmbeddingService.construct ...Goal:
TextEmbeddingServiceto log a warning instead of throwing during construction.embedthrow a helpful error when called if the key is missing, rather than preventing startup.