Skip to content

新增api限流功能 #2079

Description

@PullAndRun

检查项

  • 我确认在Issues列表中并无其他人已经建议过相似的功能
  • 这个新功能可以解决目前存在的某个问题或BUG
  • 你已经更新了最新的dev分支,但是你的问题依然没有被解决

期望的功能描述

09-29 13:17:10 [模型] 任务 'A_Memorix.EpisodeSegmentation' 的模型 'deepseek-flash-nonthink' 遇到可重试的HTTP错误: 请求过于频繁,请稍后再试
底层异常: RateLimitError | Error code: 429 - {'error': {'code': '', 'message': '您已达到请求数限制:1分钟内最多请求32次 (request id: 202609290517099563672798268d9d6nEywiLM8)', 'type': 'new_api_error'}}

api频繁429限流,能否增加api限流功能,让单位时间内请求api的速度变慢,拉长整个请求流程,避免触发429

补充信息

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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