Title: xtekky/gpt4free 0.4.2.5 on GitHub - NewReleases.io

xtekky/ gpt4free
0.4.2.5
g4f v0.4.2.5
on GitHub
Release Date : January 25, 2025
New Features
OpenaiTemplate Provider : Added support for the OpenaiTemplate provider.
MiniMax Providers : Introduced MiniMax providers and included them in the model list.
HailuoAI Provider : Added support for the HailuoAI provider.
Default Vision Model : Set a default vision model for better consistency.
Improvements
Docker Image Update : Updated the base image of the main Docker image for improved performance and compatibility.
Model Updates : Added MiniMax to models.py to reflect the latest supported models.
Lock File for nodriver : Added a lock file to ensure proper handling of the nodriver setup.
Bug Fixes
Browser Management : Ensured the browser is properly stopped after all calls by adding a finally block.
Unit Test Fixes : Addressed issues in unit tests for more reliable testing.
Removals
Deprecated Webdriver Providers : Removed outdated or unused webdriver providers to streamline functionality.
by @hlohaus
Full Changelog : 0.4.2.4...0.4.2.5
Don't miss a new gpt4free release
NewReleases is sending notifications on new releases.
© 2025 NewReleases
About
News
Contact
Terms of Service
Privacy Policy


Source: [[0]](https://newreleases.io/project/github/xtekky/gpt4free/release/0.4.2.5)


Title: xtekky/gpt4free 0.4.3.0 on GitHub - NewReleases.io

xtekky/ gpt4free
0.4.3.0
g4f v0.4.3.0
on GitHub
Release Notes for Version 0.4.2.7
Release Date: January 26, 2025
Highlights
This release introduces significant enhancements, optimizations, and new features to improve functionality, robustness, and user experience. Special thanks to H Lohaus for their valuable contributions.
Key Updates and Features
Enhancements to docker-compose
Port Update : Added 1337:8080 to docker-compose-slim.yml and docker-compose.yml for enabling new functionalities.
Improved compatibility and setup flexibility across all running applications.
Provider Script Improvements
Refactored and optimized providers such as CablyAI , Cloudflare , and DeepInfraChat to streamline inheritance and logic.
Introduced use_nodriver attribute for enhanced customization in multiple provider classes.
Added a format_prompt_qwen2 function to manage new prompt formats in HuggingFace.
HuggingFaceAPI Enhancements
Better token handling with added max_tokens and calculate_length functions for accurate token counting and input management.
Enhanced robustness through improved handling of messages exceeding length limits.
Streamlined model properties for better management.
Demo Mode Features
New demo.html file, complete with supporting CSS and JS, to enable and showcase demo functionalities.
Updated backend to support demo mode, including functions like create_app_with_gui_and_debug and create_app_with_demo_and_debug .
Integrated user-journey constraints for better demo tracking and usage monitoring.
Rate Limiting
Integrated flask_limiter for API rate limiting in demo mode, improving UI stability under public access.
Error Handling Enhancements
Improved edge case management by:
Ignoring encoding errors in file uploads and web_search .
Enhancing fault tolerance in processes.
Code Structure and Robustness
Numerous refactorings and fixes to improve maintainability, performance, and clarity across the codebase.
Recommendations for Testing


Source: [[1]](https://newreleases.io/project/github/xtekky/gpt4free/release/0.4.3.0)


Title: gpt4free - PyPI

The official gpt4free repository | various collection of powerful language models

Source: [[2]](https://pypi.org/project/gpt4free/)


Title: Added new models and providers, improved interface components, improved ...

Notifications
You must be signed in to change notification settings
Fork
13.5k
Star
63.3k
Code
Issues
46
Pull requests
0
Discussions
Actions
Projects
Security
Insights
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement . We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Added new models and providers, improved interface components, improved providers
#2646
Conversation
![kqlio67 commented Jan 30, 2025](https://avatars.githubusercontent.com/u/166700875?s=48&v=4)
No description provided.
Sorry, something went wrong.
![github-actions bot left a comment](https://avatars.githubusercontent.com/in/15368?s=48&v=4)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Pull Request Review
Summary
Thank you for your contribution to the project! This pull request introduces new models, improves the search functionality, enhances interface components, and refines providers.
Changes
Model Updates :
Added deepseek-v3 model and updated the deepseek-chat model to deepseek-v3 in the DeepInfraChat.py provider.
Introduced a new model sonar-reasoning in models.py .
Code Improvements :
Enhanced the create_async_generator function in Blackbox.py to handle <think> tags more effectively.
Removed deprecated model aliases in PerplexityLabs.py .
UI Enhancements :
Added collapsible sections for providers in the JavaScript file, improving the user interface for enabling/disabling providers and entering API keys.


Source: [[3]](https://github.com/xtekky/gpt4free/pull/2646)


Title: Releases · xtekky/gpt4free · GitHub

The official gpt4free repository | various collection of powerful language models - Releases · xtekky/gpt4free

Source: [[4]](https://google.zhangpeng.com.cn/xtekky/gpt4free/releases)

Give a summary of the provided text in ```markdown``` format. Add maybe one or more images.