hermes: hindsight_list_pages waits for the server's staleness scan

オープン 初心者向け
#7,002 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

hindsight-integrations/hermes/__init__.pyと、_tool_list_pages周辺のクライアント互換性ガードを読み、Hermesカタログの固定バージョンをどう更新するかCLAUDE.mdで確認してください。インストール済みのクライアントが対応している場合はdetail="basic"を渡し、古いクライアント向けのフォールバックを維持してください。対応バージョンではツールが不要なstalenessスキャンを回避し、古いクライアントとの互換性を保ち、カタログの固定バージョンを更新できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

integration:hermes

What happens. Hermes' hindsight_list_pages tool (hindsight-integrations/hermes/__init__.py, _tool_list_pages) reads the page tree with the default detail, so the server scans every page's memories to fill is_stale, which the tool never shows. On large banks that is most of the request (0.7 s at 100k observations, 7.5 s at 1M, see #6258).

What should happen. Pass detail="basic" (server support landed in #6995; coding-agents did the same in #7000). The Python client only gained detail on aget_page_tree with #6995, so the call must fall back to no detail on an older installed client (the tool already guards the pre-1.2.1 method name the same way). An older server ignores the param.

Where. hindsight-integrations/hermes/__init__.py _tool_list_pages; shipping it needs the Hermes catalog pin bump (see CLAUDE.md).

主要言語
Python
スター
45.2k
フォーク
5.9k
平均マージ
5時間 46分
マージ済み PR(30日)
389

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vectorize-io/hindsight のほかの issue

vectorize-io/hindsight の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。