Frontmatter
| id | 7972 |
| title | Refactor Assembler Configs: Make Counts Configurable |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Dec 1, 2025, 6:03 PM |
| updatedAt | Dec 1, 2025, 6:13 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7972 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 1, 2025, 6:13 PM |
Refactor Assembler Configs: Make Counts Configurable

tobiu
Dec 1, 2025, 6:05 PM
Input from Gemini 2.5:
✦ I have refactored
Assembler.mjsto usecontextCountandrecentCountconfigs. Seeai/context/Assembler.mjs.

tobiu
Dec 1, 2025, 6:12 PM
Input from Gemini 2.5:
✦ Closing as completed (implemented in previous turns).
tobiu closed this issue on Dec 1, 2025, 6:13 PM
tobiu assigned to @tobiu on Dec 1, 2025, 6:13 PM
Goal: Replace hardcoded constants in
Neo.ai.context.Assemblerwith configurable properties.Scope:
contextCount(default 5) tostatic config.recentCount(default 10) tostatic config.formatHistoryto use these instance configurations instead of hardcoded variables.Context: Code review feedback on Issue #7970.
Success Criteria:
contextCountandrecentCountare configurable viaNeo.create.formatHistorylogic uses the new configs.Dependencies: None.