github xtekky/gpt4free 0.5.5.4
g4f v0.5.5.4

latest releases: 0.6.2.4, 0.6.2.3, 0.6.2.2...
2 months ago

πŸ“ Release Notes – g4f v0.5.5.4

Release Date: June 19, 2025
Contributor: @hlohaus

πŸš€ New Features & Enhancements

  • PollinationsAI Provider Refactor
    • Trimmed prompts of trailing characters before encoding.
    • Improved URL encoding and audio streaming behavior.
  • Video Class Improvements
    • Added support for aspect ratio handling.
    • Enabled cached URL response reuse.
  • CLI Enhancements
    • Added --timeout option to CLI parser (default: 600 seconds).

πŸ“¦ Structural Changes

  • ARTA Provider Deprecation
    • Moved ARTA.py to a deprecated/ directory.
    • Updated related imports and marked ARTA as non-working.
    • Removed ARTA references from:
      • any_provider.py
      • models.py
  • HuggingFaceMedia Provider
    • Introduced model_aliases for flexible model referencing.
    • Updated as a preferred provider where applicable.

πŸ›  Fixes & Refactoring

  • Test Updates
    • Adjusted reasoning status tests in thinking.py.
  • API Adjustments
    • Updated Video and Image copy APIs for improved stability.
    • Improved fallback logic in copy_images.py for header parsing (last-modified vs date).
    • Fixed key error condition in OpenaiTemplate.py.
    • Removed redundant β€œvoice” lookup in PollinationsAI.py.

πŸ”§ Other Technical Changes

  • Simplified audio response yielding logic in providers.
  • General cleanup and internal optimization.

Full Changelog: 0.5.5.3...0.5.5.4

Don't miss a new gpt4free release

NewReleases is sending notifications on new releases.