• feat: Add GEMINI_VISION_MAX_IMAGE_NUM configuration
    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:36:23 +08:00 | 3782 commits to main since this release

    • Introduced GEMINI_VISION_MAX_IMAGE_NUM to README files for better user guidance.
    • Updated env.go to retrieve the maximum image number from environment variables, defaulting to 16.
    • Modified image handling logic in relay-gemini.go to respect the new configuration, allowing disabling of the limit by setting it to -1.
    • Removed hardcoded constant for maximum image number in constant.go to streamline configuration management.
    Downloads