LearnNewsExamplesServices
Frontmatter
id7324
titleRefactor and Centralize AI Configuration
stateClosed
labels
enhancement
assigneestobiu
createdAtOct 2, 2025, 10:41 AM
updatedAtOct 2, 2025, 11:00 AM
githubUrlhttps://github.com/neomjs/neo/issues/7324
authortobiu
commentsCount0
parentIssue7316
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 2, 2025, 11:00 AM

Refactor and Centralize AI Configuration

tobiu
tobiu commented on Oct 2, 2025, 10:41 AM

During the setup of the agent's memory database, a new configuration object (memoryDBConfig) was introduced. To avoid scattering configuration details across multiple scripts and creating technical debt, this ticket is to create a single, centralized configuration file for all AI-related scripts (knowledge base, memory, etc.).

Acceptance Criteria

  1. A new central configuration file is created at buildScripts/ai/aiConfig.mjs.
  2. The memoryDBConfig from buildScripts/ai/setupMemoryDB.mjs is moved into the new config file.
  3. Configuration variables from other AI scripts (e.g., embedKnowledgeBase.mjs, queryKnowledgeBase.mjs) are identified and moved to the new config file.
  4. All affected AI scripts are updated to import their settings from buildScripts/ai/aiConfig.mjs.
  5. The inline TODO comment in setupMemoryDB.mjs is removed.