mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-17 14:57:27 +00:00
feat(groups): add deny-or-downgrade control for reasoning effort ceiling
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.
This commit is contained in:
1 parent
2ac784c51a
commit
aa7a811e66
47 files changed
+751
-105
No files matched your search
@@ -0,0 +1,5 @@
|
||||
-- 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';
|
||||
Reference in new issue
Block a user