feat: Expose the current hook point in Agent State
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
Hướng nghiên cứu
The issue asks for Agent to expose the current hook point in State before hooks run, but it names no source files or tests. Read the Agent hook execution and State implementation to find where hook points are dispatched and how State values are exposed. Done means hooks can read the current point, such as before_llm or after_tool, and tests cover that behavior. This issue is marked for internal handling and is not open to external contributions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
A hook can't tell which hook point it is running at. A hook registered at several points has no way to change its behavior per point.
Example: PresidioPIIHook appended a system reminder after blocked messages. At after_tool, if the blocked result came from an exit-condition tool, the reminder became the Agent's last_message. The hook couldn't detect that it was running at after_tool, so it couldn't skip the reminder. We worked around it in deepset-ai/haystack-core-integrations#4360.
Describe the solution you'd like
Have the Agent write the current hook point (e.g. before_llm, after_tool) to State before running hooks, so a hook can read it if it needs to.
Additional context
Discussion: https://github.com/deepset-ai/haystack-core-integrations/pull/4360#issuecomment-7275496964
👋 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!
- Ngôn ngữ chính
- Python
- Star
- 27.2k
- Fork
- 3.5k
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 254
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của deepset-ai/haystack
-
feat: `ByteStream.from_file_path` should keep the file path in `meta`Có thể đã có người làm @pinjun99 đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
deepset-ai/haystack#14081 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BlockingConfirmationStrategy ignores an empty argument replacementCó thể đã có người làm @sjrl đã nhận 6 ngày trước. Đang mởP1
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
deepset-ai/haystack#13863 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CSVToDocument row mode fails on CR-separated CSV inputCó thể đã có người làm @julian-risch đã nhận 66 ngày trước. Đang mởP3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
deepset-ai/haystack#13022 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CSVToDocument row mode drops a real extra_columns field on ragged rowsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởhandled internally P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepset-ai/haystack#12994 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CSVDocumentCleaner deletes a row that says N/A, and both CSV components empty those cellsCó thể đã có người làm @michaelkillgta đã nhận 72 ngày trước. Đang mởP3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
deepset-ai/haystack#12784 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của deepset-ai/haystack
Issue tương tự
-
Test: to_hijri() accepts datetime.datetime and uses only the date partCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgood first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresCó thể đã có người làm @AshutoshSingh840 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainer thường phản hồi trong vòng 1 ngày