Comments (5)
Did you have curl_cffi installed?
pip install -U curl_cffi
from gpt4free.
Did you have curl_cffi installed? pip install -U curl_cffi
Thank you.
I have remade the venv and and reinstalled g4f.
The TypeError: Received message 257:None is not str
has disappeared but now I get different error.
Liaobots: ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
ERROR:root:Error: RetryProvider failed:
Bing: CurlError: Failed to WS_RECV, curl: (52) . See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
Liaobots: RateLimitError: Response 402: Rate limit reached
ERROR:root:Error: RetryProvider failed:
Bing: JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Liaobots: RateLimitError: Response 402: Rate limit reached
I have tried on another pc but I get the same error.
Here is the code to get the compilation.
response = self.client.chat.completions.create(
model='gpt-4',
messages=[{"role": "user", "content": prompt}],
max_tokens=10000,
proxy=os.environ.get(
"G4F_PROXY") if self.proxy_enabled else None
)
Is gpt-4 working for you?
from gpt4free.
Is Bing gpt-4 working for anyone?
I use the har file that I extracted from bing.com but I am not sure if I am doing correctly.
I am wondering if this is why the Bing is not working for me.
Could anyone show me how to do it?
from gpt4free.
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
from gpt4free.
Closing due to inactivity.
from gpt4free.
Related Issues (20)
- provider You - Cloudflare detected- help? HOT 3
- You are using an unsupported command-line flag: --no-sandbox. Stability and security will suffer. HOT 4
- CaptchaError: Bing: Retry: CaptchaChallenge: User needs to solve CAPTCHA to continue. HOT 10
- perplexity pro HOT 1
- Command-r+ is unavailable HOT 1
- you bug HOT 1
- [You.com-API] The model is not selected correctly HOT 2
- DeepInfra Model Bug HOT 2
- How do I download it? HOT 3
- Perplexity labs error 403 HOT 1
- Getting System Announcement in Every response and Other Models not Working HOT 1
- Cloud Flare error HOT 1
- Bing ends communication after the fifth message HOT 7
- Selecting "gpt-4o" as a model opens you.com automated browser window every 3-4 requests, doesn't run in headless mode HOT 3
- "Claude-3-Opus" is not available
- Use the G4F AsyncClient API HOT 3
- BingCreateImages error HOT 7
- [You.com] Remove temp browser after use HOT 3
- blob = data["arkose"]["dx"] KeyError: 'dx' HOT 1
- DeepInfra Provider HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt4free.