agentscope-ai / agentscope-ai/AgentTeams

Implement automatic retry logic for LLM rate limits (HTTP 429) to ensure workflow continuity

オープン
#149 コメント 1 件 リアクション 0 件 担当者 1 名 @qiacheng7 が担当を希望しています GitHub で見る
area:model-higress
主要言語
Go
スター
5.6k
フォーク
692
平均マージ
5日 4時間
マージ済み PR(30日)
23

説明

Here is a suggestion based on my usage experience:

In your development and testing scenarios, token quotas are likely plentiful. However, in actual production use, I've found that when the LLM API hits its rate limit (HTTP 429), the Hiclaw bot halts the entire workflow. The process stops completely, requiring me to manually re-mention the bot to resume work.

I attempted to add custom rules instructing the bot to retry after receiving a 429 error, but its adherence to these instructions has been inconsistent and unreliable.

In contrast, tools like claude-code handle this scenario exceptionally well. Their automatic retry mechanism after a 429 error allows for a truly hands-off experience; I can simply check back later to verify the results without needing to monitor the process.

This issue significantly impacts usability. My primary goal in using this tool is automation, and having workflows break due to rate limits defeats that purpose. Implementing robust, native retry logic would greatly improve the reliability of Hiclaw for automated tasks.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。