Skip to content

[Feature] 需要AgentAsTool能进行失败重试 #889

Description

@longdexin

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

我使用的deep-agent架构,子agent作为工具调用来完成任务。主agent一次生成大量任务,并行执行,大部分任务都能完成,但少量任务可能生成错误或上下文超限,导致整轮对话报错失败。

Describe the solution you'd like

如果AgentAsTool中,能支持agent报错重试,就能很好解决我的问题。

Describe alternatives you've considered

看了文档,官方目前支持请求重试,agent级别的重试还没有。

Additional context

希望能添加AgentAsTool的重试功能,提升agent程序的健壮性。

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: feature request issue. Implementations of feature requests use `C-enhancement` instead.D-adkDomain: this is an issue related to the adk package

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions