Frontmatter
| id | 7811 |
| title | Refactor: Move hardcoded Gemini model name to config in SessionService |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Nov 19, 2025, 3:39 PM |
| updatedAt | Nov 19, 2025, 3:41 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7811 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 19, 2025, 3:41 PM |
In
ai/mcp/server/memory-core/services/SessionService.mjs,embeddingModel_is configured viaaiConfig.embeddingModel(usingtext-embedding-004), butmodel_is hardcoded togemini-2.5-flash.We should move this hardcoded value into the configuration object (
ai/mcp/server/memory-core/config.mjs) to allow for easier updates and consistency.Tasks:
modelName(or similar) todefaultConfiginconfig.mjs.SessionService.mjsto use the new config value.