mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-29 21:33:01 +08:00
OpenAI Chat/Responses and xAI appliers accept effort levels only, so numeric budgets on hybrid models were not clamped to supported levels. Clear Min/Max on a copy of the model info before conversion, preserving catalog capabilities. Use ClampLevel for the Devin swe-1-7 medium variant so budget-derived levels select the correct upstream UID. Add regression tests for Copilot, Devin, and OpenAI-compat chat covering body and suffix budgets across formats.