Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Invocation context attribute propagation

Đang mở
#564 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@hemasekhar-p đang làm issue này rồi.

Từ ngày 4/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

needs review

As per python-variant of the ADK library issue (https://github.com/google/adk-python/issues/1746) I would like to propagate request-scoped variable into agent and his tools (ToolContext) in order that tool used by agent would have this variable at its disposal for the given runAsync() run.
I suppose that instances of Runner, Agent and Tool(set) are meant to be long-lived singletons, so that leaves me only Session option, which also seem to live across many requests, so only hack-like solution with pushing and then removing the request variable through Session with before/afterToolCallback are available now.

Ngôn ngữ chính
Java
Star
1.7k
Fork
421
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
31

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google/adk-java

Tất cả issue của google/adk-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.