google / google/adk-java

Add Interactions API support to adk-java

未关闭
#796 4 条评论 0 个 reaction 已指派 1 人 已被 @hemasekhar-p 认领 在 GitHub 查看
needs review
主要语言
Java
星标
1.7k
派生
420
平均合并
4 天 12 小时
30 天内合并 PR
31

描述

**Description:**

Interactions API ( https://blog.google/innovation-and-ai/technology/developers-tools/interactions-api/) provides a unified interface for interacting with Gemini models and agents with stateful multi-turn conversations and server-side history management.

This feature is already available in adk-python (since v1.21.0) but is currently missing in adk-java, creating a feature parity gap between the two SDKs.

**Proposed Solution**

Add support for the Interactions API in adk-java, similar to how it's implemented in adk-python with the use_interactions_api=True parameter in the Agent configuration.

**Additional context**

- https://blog.google/innovation-and-ai/technology/developers-tools/interactions-api/
- https://developers.googleblog.com/building-agents-with-the-adk-and-the-new-interactions-api/
- https://github.com/google/adk-python/tree/main/contributing/samples/interactions_api

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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