Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Custom Metadata Support In `RunConfig`

未关闭
#870 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@hemasekhar-p 已经在做这个了。

开始于 2026年2月17日。

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
Java
星标
1.7k
派生
433
平均合并
2 天 21 小时
30 天内合并 PR
43

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/adk-java 的其他 Issue

查看 google/adk-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。