google / google/adk-java

Add Interactions API support to adk-java

Offen
#796 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @hemasekhar-p Auf GitHub ansehen
needs review
Vorherrschende Sprache
Java
Sterne
1.7k
Forks
420
Ø Merge
4 T. 12 Std.
Gemergte PRs (30 T.)
31

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.