google / google/adk-python

[CLI] Add --max_llm_calls flag to web and api_server

Offen
#5,434 1 Kommentar 0 Reaktionen 2 zugewiesene Personen Beansprucht von @DeanChensj Auf GitHub ansehen
core needs review
Vorherrschende Sprache
Python
Sterne
21.5k
Forks
4k
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
37

Beschreibung

## Feature Request
The `RunConfig` in the ADK SDK supports a `max_llm_calls` parameter to prevent infinite loops and control costs, but this is not currently accessible via the CLI for `adk web` or `adk api_server`.

## Proposed Change
Add a `--max_llm_calls` flag to the CLI server commands to allow users to configure this limit.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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