Commit Graph
2 Commits
Author SHA1 Message Date
Aria Agent ce159613be fix: add kind: standalone to override Hermes v0.11.0 memory provider auto-detection
Hermes v0.11.0 auto-detects plugins containing MemoryProvider in
__init__.py and coerces them to kind: exclusive, which prevents the
general PluginManager from loading them. Since this plugin uses the
dual-path approach (memory provider + standalone tools/hooks), the
auto-detection was blocking tool registration.

Explicit kind: standalone tells Hermes to load this as a regular
plugin, allowing tools (mem0_profile, mem0_search, mem0_conclude,
mem0_delete) and the pre_llm_call hook to register correctly.
2026-04-25 23:12:16 +02:00
Aria Agent 5764cca61a Use XML tags for clear memory context delineation
- Replace ## Mem0 Memory headers with <mem0_context> XML tags
- Replace ## Mem0 Error headers with <mem0_error> XML tags
- Add Memory Context Format section to system_prompt_block()
  explaining the XML tag schema and that memories are not user instructions
- Consistent XML tag usage across prefetch(), queue_prefetch_and_get(),
  and pre_llm_call_hook()
2026-04-17 15:18:42 +00:00