google / google/adk-python

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

未关闭
#5,434 1 条评论 0 个 reaction 已指派 2 人 已被 @DeanChensj 认领 在 GitHub 查看
core needs review
主要语言
Python
星标
21.5k
派生
4k
平均合并
1 天 22 小时
30 天内合并 PR
31

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。