发布

  • Add OpenAI compatibility support and improve resource cleanup

    frostbyte_neo 发布于 2025-08-25 19:33:46 +00:00

    • Introduced OpenAI compatibility configurations for external providers, enabling model alias routing via the OpenAI API format.
    • Enhanced provider logic in GetProviderName to handle OpenAI aliases and added new helper functions for compatibility checks.
    • Updated API handlers and client initialization to support OpenAI compatibility models.
    • Improved resource cleanup across clients by closing response bodies and streams using deferred functions.
    下载附件