cloudwego / cloudwego/eino

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

Open
#889 3 comments 0 reactions 0 assignees View on GitHub
C-feature-request D-adk
Dominant language
Go
Stars
13k
Forks
1.1k
Avg merge
4h 6m
Merged PRs (30d)
41

Description

**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程序的健壮性。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.