LearnNewsExamplesServices
Frontmatter
id9658
titleEnhance Memory-Core for explicit Gemma4 offline session summarization
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 3, 2026, 2:31 PM
updatedAtApr 3, 2026, 3:48 PM
githubUrlhttps://github.com/neomjs/neo/issues/9658
authortobiu
commentsCount1
parentIssue9638
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 3, 2026, 3:20 PM

Enhance Memory-Core for explicit Gemma4 offline session summarization

Closedenhancementai
tobiu
tobiu commented on Apr 3, 2026, 2:31 PM

The Memory-Core currently enforces Google Gemini logic internally for compiling summarization meta-blocks and indexing cognitive drift.

In pursuit of complete offline AI Swarm viability, this requirement should be configurable. We need to optionally route session summarizations through local Ollama models (such as gemma4), bypassing the Gemini upstream requirement where the offline topology proves capable enough.

Acceptance Criteria

  • Extend config.mjs in Memory Core with variables for local modelProvider and ollama endpoints.
  • Introduce polymorphic provider support into SessionService.mjs so it automatically maps prompt configurations through the correct REST pipeline (Ollama APIs vs Gemini SDK).
  • Draft a targeted Playwright suite mimicking five turns of dummy agent behavior, proving gemma4 can reliably intercept the summarization chain.
  • The unit suite must gracefully ignore/skip execution if gemma4 or the ollama daemon is unreachable.
tobiu added the enhancement label on Apr 3, 2026, 2:31 PM
tobiu added the ai label on Apr 3, 2026, 2:31 PM
tobiu referenced in commit 9aaf7ba - "feat: Extend SessionService generation model to support Ollama and Gemma 4 (#9658)" on Apr 3, 2026, 3:19 PM
tobiu
tobiu Apr 3, 2026, 3:20 PM

Pushed in 9aaf7ba90. Playwright unit tests succeed successfully connecting to the local Ollama daemon for memory-core summarization.

tobiu closed this issue on Apr 3, 2026, 3:20 PM
tobiu referenced in commit 67d52ac - "test: Add dummy memory mock logic to offline summarization tests (#9658)" on Apr 3, 2026, 3:34 PM
tobiu assigned to @tobiu on Apr 3, 2026, 3:48 PM
tobiu added parent issue #9638 on Apr 3, 2026, 3:48 PM