LearnNewsExamplesServices
Frontmatter
id9764
titleUpdate config template and modernize ES6 syntax for AI providers
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 7, 2026, 10:06 PM
updatedAtApr 8, 2026, 1:03 AM
githubUrlhttps://github.com/neomjs/neo/issues/9764
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtApr 7, 2026, 10:06 PM

Update config template and modernize ES6 syntax for AI providers

tobiu
tobiu commented on Apr 7, 2026, 10:06 PM

The openAiCompatible configuration mapping was omitted from config.template.mjs when it was applied to the main active repository configuration (config.mjs). That needs a synchronized patch. Additionally, there are older ES5-style property mappings in the newly implemented OpenAiCompatible.mjs provider that need to be modernized to use ES6 object shorthand assignments (e.g. {messages, stream}).

Scope:

  1. Insert the openAiCompatible endpoint object into ai/mcp/server/memory-core/config.template.mjs.
  2. Refactor OpenAiCompatible.mjs to strictly adhere to modern destructuring and ES6 property shortcuts.