mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-12-03 08:01:10 +00:00
* fix(gateway): resolve fast policy from the account's hit group Bound-group fast policies were merged once per API key at snapshot compile time, so a disabled or forced group on the same key leaked its policy onto accounts that only belong to other enabled groups. Keep the per-group policies frozen on the account scope, skip disabled groups when merging, and resolve the effective fast mode from the account the request actually hit, falling back to the key-level merged value only when the account matches no enabled bound group. * ci: retrigger checks * style(gateway): rustfmt the account-scoped fast mode helper * fix(routing): scope Fast policy to selected eligible groups Co-authored-by: Codex <noreply@openai.com> * fix(routing): preserve explicit default Fast overrides Co-authored-by: Codex <noreply@openai.com> --------- Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>