google / google/adk-python

Reusing `adk run` and `adk web` with custom Runners (and other custom services)

Offen
#1,181 3 Kommentare 2 Reaktionen 2 zugewiesene Personen Beansprucht von @klateefa Auf GitHub ansehen
core needs review
Vorherrschende Sprache
Python
Sterne
21.5k
Forks
4k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
31

Beschreibung

**Is your feature request related to a problem? Please describe.**

I loved the dev specific tools (running via the cli or web) that are part of adk. However, they are good enough for simple agents. Anything that requires reliance on other custom objects (e.g. Session, artificate service, Custom/Extended Runner etc) requires one to write a custom script and thereby not utilizing the dev tools that come built in.

**Describe the solution you'd like**

While it would be difficult to specific the custom runner or service to use on CLI, refactoring the functions in
https://github.com/google/adk-python/blob/main/src/google/adk/cli/cli.py
such as `run_interactively` and `run_cli` could enable one to directly use them from their custom script (entrypoint).

**Describe alternatives you've considered**
Alternatives require duplication of code

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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