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

Custom Metadata Support In `RunConfig`

Đang mở
#870 4 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 17/2/2026.

Đánh giá

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

Mô tả

needs review

Please, tell me will customMetadata support in RunConfig be added in Google Java ADK like in Python? Python ADK reference

Case: we have additional information injection (context info) before the start of runner, but providing it in the content is a wrong approach, cause ADK framework with LLM under the hood parse request and final JSON contain only a message provided by user. It doesn't includes .

An example of injected content in prompt (the content will be run from Runner):

{
  "user_request" : "Return a JSON you've been prompted.",
  "information_about_user" : {
    "name" : "Valerii",
    "surname" : "Fedorovych"
  },
  "current_time" : "2026-02-17T10:37:53.706185753+02:00"
}

Actual JSON processing by LLM:

{
  "request": {
    "agent": "main_coordinator",
    "user_id": "user_777_investor",
    "session_id": "session_finance_tracker_001",
    "message": "Return a JSON you've been prompted.",
    "context": {
      "previous_messages": [
      ],
      "user_profile": {
        "name": null,
        "goals": [
          "real_estate_investment"
        ]
      }
    },
    "timestamp": "2024-05-22T14:25:00Z"
  }
}

Looks like a custom_metadata used in run_config in Python ADK can resolve the issue.

Ngôn ngữ chính
Java
Star
1.7k
Fork
431
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
42

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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.