[CLI] Add --max_llm_calls flag to web and api_server
Open
core
needs review
- Dominant language
- Python
- Stars
- 21.5k
- Forks
- 4k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 37
Description
## 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.
Contributor guide
Assessment
This issue has not been assessed yet.