Files
sub2api/backend/migrations/185_group_reasoning_effort_policy.sql
T
zhaozewu 6c93f01c97 fix(groups): tighten reasoning policy
Remove unsupported none handling, align the auth cache version with the current baseline, consolidate the unshipped migrations, and update the public API contract.
2026-07-21 11:16:04 +08:00

5 lines
270 B
SQL

-- Add per-group controls for explicit OpenAI/Codex reasoning effort values.
ALTER TABLE groups
ADD COLUMN IF NOT EXISTS max_reasoning_effort VARCHAR(20) NOT NULL DEFAULT '',
ADD COLUMN IF NOT EXISTS reasoning_effort_mappings JSONB NOT NULL DEFAULT '[]'::jsonb;