Skip to content

从工程和安全角度,lead agent也应该有多轮对话次数上限 #231

@Luoject

Description

@Luoject

在s09_agent_teams.py中,看到对subagent有50次多轮对话上限,原因是:模型有可能stop_reason永远不返回结束,或者在那里一直做同一件无意义的事。

那么lead agent是不是也应该有多轮对话次数上限?代码中是死循环。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions