mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
* feat(scheduling): add plugin filtering and remove automatic switchback Add scheduler v2 filtered delegation across native selection, affinity, capacity waits, and lease retries. Keep plugin configuration and business rules owned by plugins without legacy scheduler compatibility. Remove automatic switchback from the runtime, SDK, and settings UI. Migrate the existing settings JSON without creating new tables. Co-authored-by: Codex <noreply@openai.com> * fix(dev): align plugin source checks with scheduler v2 Update the workbench submodule to the v2-capable SDK and scheduler, and document the explicit scheduler manifest version. Co-authored-by: Codex <noreply@openai.com> --------- Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
9 lines
417 B
SQL
9 lines
417 B
SQL
-- 删除自动回切配置,保留既有智能调度系数
|
|
UPDATE runtime_settings
|
|
SET smart_scheduling_json = smart_scheduling_json - 'preferHigherWeight'
|
|
WHERE smart_scheduling_json ? 'preferHigherWeight';
|
|
|
|
ALTER TABLE runtime_settings
|
|
ALTER COLUMN smart_scheduling_json SET DEFAULT
|
|
'{"loadWeight":1.0,"quotaWeight":0.8,"healthWeight":1.0,"latencyWeight":0.5,"resetWeight":0.0,"queueWeight":0.0}'::jsonb;
|