github xtekky/gpt4free 0.5.6.4
g4f v0.5.6.4

latest releases: 0.6.2.8, 0.6.2.7, 0.6.2.6...
2 months ago

Release Notes

New Features & Improvements

  • New Provider Added:
    • Added GithubCopilotAPI provider to supported providers list
  • Model Handling:
    • Enhanced model alias handling in Cloudflare provider
    • Updated model selection logic in PollinationsAI with refined aliases and model loading
    • Improved model provider order for specific models
  • Media Handling:
    • Added support for image, video, and forecast references in citations
    • Improved URL extraction and media merging logic
    • Enhanced media content handling in client operations
  • Configuration:
    • Replaced constants module with centralized config module
    • Added .env file support for environment variables (now ignored in version control)
  • CLI & Client:
    • Streamlined auth handling and CLI structure
    • Improved browser handling and prompt encoding
    • Enhanced conversation support and data merging

Fixes

  • Fixed typo in Gemini provider ("GGOGLE_SID_COOKIE" → "GOOGLE_SID_COOKIE")
  • Improved citation handling in OpenaiChat:
    • Added proper checking for empty link titles
    • Implemented ref_index and ref_type matching for sources
  • Fixed video handling in photoswipe
  • Improved thumbnail generation
  • Enhanced error handling for browser operations
  • Fixed conversation history loading from data

Under the Hood

  • Refactored auth retrieval logic to use new get_auth_result method
  • Streamlined image parameter handling in PollinationsAI
  • Updated default headers and API key management
  • Cleaned up redundant model references and aliases
  • Improved request caching in Cloudflare provider

Contributors

Special thanks to @hlohaus and @GravityTwoG for their contributions to this release.


This release includes significant improvements to model handling, media support, and configuration management, along with various stability fixes and quality-of-life enhancements.

Full Changelog: 0.5.6.3...0.5.6.4

Don't miss a new gpt4free release

NewReleases is sending notifications on new releases.