mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-24 18:33:38 +08:00
Extend backward compatibility support for legacy openrouter_compat_mode field:
- Support number type (1 = enabled, 0 = disabled)
- Support string type ("true"/"1" = enabled)
- Add corresponding test cases for number and string types