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: xtekky/gpt4free 0.4.3.5 on GitHub - NewReleases.io

xtekky/ gpt4free
0.4.3.5
g4f v0.4.3.5
on GitHub
Release Notes for GPT4Free Version v0.4.3.5
Release Date: January 28, 2025
Key Updates:
Addressed Issue #2628 :
Refactor parsing logic for improved handling of reasoning content
Commit: 2591781
Added AsyncAuthedProvider in Copilot :
Enhanced the Copilot integration with asynchronous authenticated providers.
Commit: 9524c3f
Added Model qwen-2.5-1m-demo to models.py :
Included a new model in the models.py file for demonstration purposes.
Commit: 17d2f05
Fixed Unittests and Set Strategy for Rate Limiter :
Addressed issues with unittests and implemented a new strategy for rate limiting.
Commit: 2c89583
Added PreviewResponse Type to Response Types :
Introduced a new type for preview responses.
Commit: d4f736e
Support for Options Like max_depth in downloads.json :
Added support for various options, including max_depth , in the downloads.json file.
Commit: efacc15
New Contributors
@SreejiBR made their first contribution in #2630
Full Changelog : 0.4.3.4...0.4.3.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: [[2]](https://newreleases.io/project/github/xtekky/gpt4free/release/0.4.3.5)


Title: Releases · xtekky/gpt4free · GitHub

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

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


Title: Adding New Models and Enhancing Provider Functionality #2689 - GitHub

Notifications
You must be signed in to change notification settings
Fork
13.5k
Star
63.3k
Code
Issues
54
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
Adding New Models and Enhancing Provider Functionality
#2689
Filter by extension
Diff view
docs
docs/client.md
client.md
docs/providers-and-models.md
providers-and-models.md
g4f
Provider
g4f/Provider/Blackbox.py
Blackbox.py
g4f/Provider/BlackboxAPI.py
BlackboxAPI.py
g4f/Provider/CablyAI.py
CablyAI.py
g4f/Provider/DeepInfraChat.py
DeepInfraChat.py
g4f/Provider/Glider.py
Glider.py
g4f/Provider/OIVSCode.py
OIVSCode.py
g4f/Provider/PerplexityLabs.py
PerplexityLabs.py
g4f/Provider/PollinationsAI.py
PollinationsAI.py
g4f/Provider/__init__.py
__init__.py
not_working
g4f/Provider/not_working/ChatGptt.py
ChatGptt.py
g4f/Provider/not_working/__init__.py
g4f/models.py
models.py
tools
g4f/tools/run_tools.py
run_tools.py
There are no files selected for viewing
Original file line number
Diff line number
Diff line change
Expand Up
@@ -181,8 +181,8 @@ for chunk in stream:
if chunk.choices[ 0 ].delta.content:
print (chunk.choices[ 0 ].delta.content or " " , end = " " )
```
---
### Using a Vision Model
** Analyze an image and generate a description: **
``` python
Expand Down
Large diffs are not rendered by default.
![github-actions bot Feb 5, 2025](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 .
Remove the import of Reasoning as it has been deprecated.
![github-actions bot Feb 5, 2025](https://avatars.githubusercontent.com/in/15368?s=48&v=4)


Source: [[4]](https://github.com/xtekky/gpt4free/pull/2689/files)

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