Raise a ValueError when a tool's inputs_from_state key is missing from the Agent's state_schema
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read haystack/components/agents/agent.py and the unit tests for _warn_on_inputs_from_state_missing_from_schema; check the State docs page and the release note format for upgrade notes. Replace the warning behavior with the specified error and rename the helper, then update tests, docs, and the upgrade release note. The issue says this work will be handled internally and is not open to external contributions.
索引モデルが issue の本文から書いたものです。
説明
Follow up to #13891
Since #13891, the Agent emits a FutureWarning at the start of each run when a tool's inputs_from_state reads a key that is not declared in the Agent's state_schema. State only holds keys from the schema, so such a key is never injected and the tool runs on its default or fails.
The warning says this will raise a ValueError starting with Haystack 3.7.
To do
- Replace the
FutureWarningin_warn_on_inputs_from_state_missing_from_schema(haystack/components/agents/agent.py) with aValueErrorand rename the helper accordingly - Update the unit tests to expect the error
- Update the State docs page, which says the Agent emits a
FutureWarning - Add an
upgraderelease note
👋 Hello there! This issue will be handled internally and isn't open for external contributions. If you'd like to contribute, please take a look at issues labeled contributions welcome or good first issue. We'd really appreciate it!
- 主要言語
- Python
- スター
- 27.1k
- フォーク
- 3.5k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 239
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
deepset-ai/haystack のほかの issue
-
BlockingConfirmationStrategy ignores an empty argument replacement対応中かも @Aarkin7 が 3 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
deepset-ai/haystack#13863 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
P2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepset-ai/haystack#13830 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
DocumentSplitter misplaces repeated literal chunks from an overlapping custom splitter対応中かも @davidsbatista が 7 日前に担当しました。 オープンP2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepset-ai/haystack#13806 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
CSVToDocument accepts an unsupported conversion_mode and silently converts in row mode対応中かも @Lesereingrape が 54 日前に担当しました。 オープンP3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
deepset-ai/haystack#13070 ·
メンテナーはふだん 1 日以内に返信
-
InMemoryDocumentStore: count_unique_metadata_by_filter and get_metadata_field_unique_values disagree on int/float/bool values対応中かも @sjrl が 14 日前に担当しました。 オープンP3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepset-ai/haystack#13040 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
deepset-ai/haystack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
micronaut-projects/micronaut-core#14585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
langgenius/graphon#443 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
docling-project/docling-serve#788 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
opensearch-project/cross-cluster-replication#1805 ·
メンテナーはふだん 1 日以内に返信