• refactor: Enhance error handling in Gemini request conversion
    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-20 21:50:58 +08:00 | 3781 commits to main since this release

    • Updated CovertGemini2OpenAI function to return an error alongside the GeminiChatRequest, improving error reporting for image processing.
    • Modified ConvertRequest methods in both adaptor.go files to handle potential errors from the Gemini conversion, ensuring robust request handling.
    • Improved clarity and maintainability of the code by explicitly managing error cases during request conversion.
    Downloads