mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 14:58:23 +08:00
feat: 按上游计费倍率调度 OpenAI 账号
This commit is contained in:
@@ -348,6 +348,8 @@ gateway:
|
||||
reset: 0.0
|
||||
# 倾向 7d 剩余额度更健康的账号;0 表示关闭(默认,不改变原有行为),小流量灰度可设为 0.3。
|
||||
quota_headroom: 0.0
|
||||
# 倾向上游声明倍率更低的账号;0 表示关闭(默认),建议启用时从 1.5 开始。
|
||||
upstream_cost: 0.0
|
||||
# OpenAI 高级调度器补充配置
|
||||
openai_scheduler:
|
||||
# 是否允许 session_hash sticky 在账号健康度恶化时临时逃逸;false 可一键回退旧行为
|
||||
|
||||
Reference in New Issue
Block a user