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