google / google/adk-python

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

Aperta
#5,434 1 commento 0 reazioni 2 assegnatari Rivendicata da @DeanChensj Vedi su GitHub
core needs review
Lingua principale
Python
Stelle
21.5k
Fork
4k
Merge medio
1g 14h
PR unite (30g)
37

Descrizione

## 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.