mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-14 12:02:27 +08:00
OpenAI/Composite groups can now reject requests that exceed the max reasoning effort instead of always rewriting them down to the ceiling. Existing groups keep the previous auto-downgrade behavior.
6 lines
319 B
SQL
6 lines
319 B
SQL
-- Per-group access control when an explicit OpenAI/Codex reasoning effort
|
|
-- exceeds max_reasoning_effort. Existing groups keep the previous behaviour
|
|
-- (automatically downgrade to the ceiling).
|
|
ALTER TABLE groups
|
|
ADD COLUMN IF NOT EXISTS max_reasoning_effort_over_limit VARCHAR(20) NOT NULL DEFAULT 'downgrade';
|