Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

My harness logged "duplicates not canonicalized." It was counting page size.

说明与用途

YantrikDB 插件在 Hermes Agent 中未能在初始化前公开工具模式,导致系统将其视为未知工具。修复后,模式立即可用,内存功能正常使用。

问题

The YantrikDB memory provider for Hermes Agent was not correctly exposing its tool schemas, causing the harness to treat it as an unknown tool and fall back to Hermes’ built‑in memory tool.

结果

After the fix, the harness successfully calls YantrikDB tools, eliminating the "Unknown tool" fallback and enabling proper memory operations.

工作流

  • 1. Run harness on Hermes 0.9.0 with YantrikDB plugin v0.27.0.
  • 2. Observe that all yantrikdb_* calls resolve to "Unknown tool".
  • 3. Identify that get_tool_schemas() returns [] before initialize().
  • 4. Modify get_tool_schemas() to return schemas unconditionally.
  • 5. Move readiness check to handle_tool_call().
  • 6. Add regression test test_schemas_available_before_initialize.
  • 7. Re‑run harness; YantrikDB tools are now available.

证据

get_tool_schemas() checked self._client is None and returned [] until initialize() had run, but Hermes asks for schemas in MemoryManager._register_provider

来源

The fix returns the schema list unconditionally and moves the readiness check into handle_tool_call()

来源

  • 记录日期: 2026-10-01T16:40:43.975Z