Skip to content

Releases: kacperbaranowski/AltGenius

v1.0.1 - Image Format Validation

Choose a tag to compare

@kacperbaranowski kacperbaranowski released this 29 Jan 08:30

🎯 What's New

Added

  • Image Format Validation: OpenAI format validation (png, jpeg, gif, webp) to prevent 400 errors from unsupported formats like SVG
  • Unsupported Formats KPI: New statistics card showing count of images in unsupported formats
  • Model Limitations Alert: Informational alert box on stats page explaining which formats the current AI model supports
  • Future Provider Support: Extensible structure prepared for future AI providers (e.g., Gemini) with different format support

Fixed

  • SVG and other unsupported formats are now rejected before API calls, preventing unnecessary errors and API quota usage

Technical Details

  • Added OPENAI_SUPPORTED_FORMATS constant for centralized format management
  • New count_unsupported_formats() method for database queries
  • Enhanced get_images_stats() to include unsupported format count
  • Improved error messages with specific format information
    Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@kacperbaranowski kacperbaranowski released this 28 Jan 14:54