发布

  • fix(cliproxy): simplify Codex model resolution and enhance test coverage

    frostbyte_neo 发布于 2026-07-29 23:38:36 +00:00

    • Updated buildCodexConfigModels to default to CodexProModels when no models are explicitly configured, ensuring consistent behavior.
    • Refined logic in resolveConfigCodexKey to streamline model selection and exclusion handling.
    • Added comprehensive tests for default, explicit, and exclusion-based model configurations.
    • Introduced TestRegisterConfigAPIKeyAuthsCodexModelModes to validate runtime model registration scenarios.
    • Enhanced test utility functions for improved readability and reuse.
    下载附件