modelscope.cn

model-fallback

模型自动降级与?

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
LicenseMIT
More metadata
version
1.0.0
domains
[]
0
reliability
1
model-management
2
fault-tolerance
type
system

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,242 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

模型自动降级与故障切换

  • Author: Daniel Li
  • Copyright © Daniel Li. All rights reserved.

当使用此技能

  • 模型请求失败
  • API 超时
  • 达到速率限制
  • 配额耗尽
  • 需要确保服务连续性

工作原理

  1. 监控: 检测模型请求状态
  2. 判断: 识别失败类型(超时/限额/错误)
  3. 切换: 自动降级到备用模型
  4. 重试: 失败请求自动重试
  5. 恢复: 主模型恢复后自动切回

多供应商支持

  • 优先级配置
  • 跨供应商故障转移
  • 智能负载均衡

错误类型

  • 超时: 切换到更快模型
  • 限额: 切换到有配额模型
  • 错误: 切换到不同供应商

触发词

  • "模型降级"
  • "自动切换"
  • "模型故障"
  • "API 失败"