Skip to content

gproxy v3.0.5

Choose a tag to compare

@github-actions github-actions released this 07 Sep 11:23
· 63 commits to main since this release

v3.0.5

Fix partial-permission routing and model discovery, add Claude refusal fallback, and restore Console configuration helpers.

English

Added

  • Configurable Claude refusal fallback with default or explicit model chains, provider-specific fallback handling, and per-attempt usage and billing.

Fixed

  • Aggregated model lists no longer return 403 because another provider is unauthorized. Users with content-generation access can discover their permitted models, including routes with only some authorized providers.
  • Routing filters candidates by provider and operation permissions before quota reservation and execution. Unauthorized candidates do not consume the attempt budget or enter failover; requests with no authorized target remain forbidden. WebSocket, service-surface and Portal capability checks follow the same provider permissions.
  • Claude refusal fallback preserves live streaming output and tool events, carries fallback credit correctly, and accounts for upstream attempts without charging the request twice.
  • Restore route model suggestions, rule-filter helpers, Portal model-capability details and API-key reveal. Align credential-budget actions with their section heading.

简体中文

新增

  • 新增可配置的 Claude 拒答回退,支持默认策略和指定模型链,适配供应商的回退方式,并按上游尝试记录用量和费用。

修复

  • 聚合模型列表不再因其他供应商未获授权而整体返回 403。仅拥有内容生成权限的用户也可查看有权使用的模型,包括只授权了部分供应商的路由模型。
  • 路由在配额预扣和执行前按供应商、操作权限过滤候选目标。未授权目标不消耗尝试预算,也不会进入故障转移;没有任何获准目标的请求仍被拒绝。WebSocket、服务接口和 Portal 能力展示同步遵循供应商权限。
  • Claude 拒答回退保留实时流式输出和工具事件,正确传递回退抵扣信息,并按上游尝试结算,避免重复计费。
  • 恢复路由模型建议、规则筛选辅助控件、Portal 模型能力详情和 API Key 查看;调整凭证额度操作按钮,使其与标题对齐。