Skip to content

[Bug]:大模型限流需支持配置,现在超过agent不返回 #761

@luokui123

Description

@luokui123

18:12:01.241 [boundedElastic-1] DEBUG i.agentscope.core.model.OpenAIClient - SSE data: {"code":"429","message":"{"Response":{"Error":{"Message":"The request has triggered the maximum tokens per minute (MAX_TPM) limit. Please try again later.","Code":"RequestLimitExceeded.TPM"}}}\n","status":"error"} 大模型报token超限,竟然不外抛,而是打印个日志就没下文了,任务也不结束,这是不是有问题,需要思考如何做限流,尽量能支持配置

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions