Skip to content

[P2-Gateway] 熔断器 + 自动降级链 #5

Description

@2233admin

目标

集成现有 circuit_breaker.py 到 gateway 层,供应商故障自动切换。

降级链(可配置)

Claude → DeepSeek → Doubao → 本地 Ollama

要求

  • 熔断阈值可配(连续失败N次 / 错误率超X%)
  • 半开状态自动探测恢复
  • 降级事件写日志 + 报警

截止

2026-04-10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions