Code Monkey home page Code Monkey logo

Comments (5)

hlohaus avatar hlohaus commented on June 7, 2024

Did you have curl_cffi installed?
pip install -U curl_cffi

from gpt4free.

seitymoe avatar seitymoe commented on June 7, 2024

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.

seitymoe avatar seitymoe commented on June 7, 2024

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.

github-actions avatar github-actions commented on June 7, 2024

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.

github-actions avatar github-actions commented on June 7, 2024

Closing due to inactivity.

from gpt4free.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.