← 返回
数据分析 中文

Model Failover Guard

Automatically monitors model health and switches between primary and fallback models to maintain stability and recover when possible.
自动监控模型健康状态,在主备模型间切换以确保稳定性并适时恢复。
bovmanth
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 619
下载
💾 12
安装
1
版本
#auto-switch#failover#latest#model

概述

OpenClaw Model Failover Guard

Automatic model failover + failback guard for OpenClaw.

Description

When your primary model becomes unstable, this guard can switch to an available fallback model automatically, then switch back to the primary after stability is restored.

Features

  • Monitor model health on an interval
  • If primary fails N times consecutively → failover
  • Fallback is selected from all configured models
  • Supports preferred fallback provider
  • After fallback is stable for N checks → try failback
  • If failback test fails → revert to fallback immediately

Install

npx skills add BovmantH/openclaw-model-failover-guard --skill model-failover-guard

Usage

# Run once
python3 skills/model-failover-guard/scripts/failover.py once

# Run as daemon
python3 skills/model-failover-guard/scripts/failover.py loop

Configuration

Copy skills/model-failover-guard/config.example.json to config.json and adjust settings.

KeyDescription
------------------
primaryModelPrimary model to monitor
failThresholdConsecutive failures before failover
recoverThresholdStable checks before failback
checkIntervalSecHealth check interval (seconds)

Author

  • Owner: BovmantH
  • Version: 1.0.0

License

MIT

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 09:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,461
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,015
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,120