• feat: Add FetchModels endpoint and refactor FetchUpstreamModels
    Some checks failed
    Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
    Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
    Linux Release / release (push) Has been cancelled
    macOS Release / release (push) Has been cancelled
    Windows Release / release (push) Has been cancelled

    Ghost released this 2024-12-24 18:02:08 +08:00 | 3749 commits to main since this release

    • Introduced a new FetchModels endpoint to retrieve model IDs from a specified base URL and API key, enhancing flexibility for different channel types.
    • Refactored FetchUpstreamModels to simplify base URL handling and improve error messages during response parsing.
    • Updated API routes to include the new endpoint and adjusted the frontend to utilize the new fetch mechanism for model lists.
    • Removed outdated checks for channel type in the frontend, streamlining the model fetching process.
    Downloads