发布

  • [OPIK-2954] [BE] Enhance vision model support in ModelCapabilities (#3945)

    frostbyte_neo 发布于 2025-11-05 10:07:31 +00:00

    • Introduced hardcoded vision-capable model patterns to handle discrepancies in JSON configuration.
    • Added a method to check if a model name matches the vision patterns.
    • Updated the supportsVision method to utilize the new matching logic.
    • Removed outdated model entry from JSON configuration.
    • Added comprehensive unit tests for vision model support, covering various scenarios including case insensitivity and whitespace handling.
    下载附件