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: Releases · xtekky/gpt4free · GitHub

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

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


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: [[2]](https://newreleases.io/project/github/xtekky/gpt4free/release/0.4.3.0)


Title: ImportError: cannot import name 'AsyncClient' from 'g4f.client'

Notifications
You must be signed in to change notification settings
Fork
13.5k
Star
63.3k
Code
Issues
39
Pull requests
0
Discussions
Actions
Projects
Security
Insights
ImportError: cannot import name 'AsyncClient' from 'g4f.client' #2280
Description
Bug description
Cannot run API after i update g4f to 0.3.3.0, the error show: ImportError: cannot import name 'AsyncClient' from 'g4f.client' (/opt/render/project/src/.venv/lib/python3.11/site-packages/g4f/client/__init__.py)
Step to reproduce
Environment
Python 3.12
Environment: Render
Additional context
Here is my main.py
Metadata
Assignees
![xtekky](https://avatars.githubusercontent.com/u/98614666?s=64&u=73ffc35c4da01924e4c0636186fa1328b717fbb1&v=4)
![xtekky](https://avatars.githubusercontent.com/u/98614666?s=64&u=73ffc35c4da01924e4c0636186fa1328b717fbb1&v=4)
Labels
Milestone
Relationships
Development
Issue actions


Source: [[3]](https://github.com/xtekky/gpt4free/issues/2280)


Title: GPT4Free: Decompile AI dialog website interface, use multiple GPT ...

![Chief AI Sharing Circle - AI Personal Learning and Hands-on Guide](https://www.aisharenet.com/wp-content/uploads/2024/07/24b4a30ead2da7b.png)
AI courses
AI News
AI knowledge
AI tools
hands-on tutorial
Practical Instructions
AI Answers
Featured AI Tools
Tool Classification
small toy
WeChat Public Anonymous AI conversation tools Verify the authenticity of the transit API Image Comparison Tool
GPT4Free: Decompile the AI Dialog website interface and use multiple GPT models for free!
General Introduction
GPT4Free is an open source project released on GitHub by developer xtekky, aiming to provide a wide range of powerful language models for free, including GPT-3.5, GPT-4, Llama, Gemini-Pro, Bard and Claude etc. The project provides features such as timeout, load balancing, and flow control by aggregating multiple API requests. Users can easily use these high-level language models through simple installation and configuration.
This project needs to rely on a number of services, decompile the website interface is obsolete, you can branch the project to deploy the latest version. Recommended https://github.com/xiangsx/gpt4free-ts , or use Sealos one-click deployment.
Online experience: https://gptgod.online/
Function List
Multi-model support : Supports multiple language models such as GPT-3.5, GPT-4, Llama, Gemini-Pro, Bard and Claude.
Open source and free : Completely open source, users can use and modify the code for free.
API Integration : Provides a variety of API request features, supporting timeouts, load balancing, and flow control.
Documentation and Tutorials : Detailed documentation and tutorials to help users get started quickly.
Community Support : Active community support where users can communicate and get help on GitHub, Telegram, and Discord.
Using Help
![BEN2: Deep learning model for fast background removal from images, videosAI Web Operator: Browser Automation, an Open Source Implementation of OpenAI OperatorExa & Deepseek Chat App: Open Source Chat App for Real-Time Web Search and Intelligent ReasoningHeck.ai: Login-free use of ChatGPT and DeepSeekRecipe Book: AI generates graphic recipes with one click, text recipes become food pictorials!LLM API Engine: Rapid API Generation and Deployment through Natural LanguagePengChengStarling: Smaller and Faster Multilingual Speech-to-Text Tool than Whisper-Large v3PartyRock: kids can make their own AI apps with simple prompts](https://www.aisharenet.com/wp-content/themes/dux/assets/img/thumbnail.png)


Source: [[4]](https://www.aisharenet.com/en/gpt4free/)

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