gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

Bing Proxy

Open owlcloud opened this issue 1 year ago • 10 comments

Is it possible to add proxy support to bing as an argument? It worked well for me, but today he decided to tell me that he could not create a new conversation, and before that, by mistake in the loop code, I sent too many requests, and he probably blocked me by ip.

owlcloud avatar Sep 27 '23 05:09 owlcloud

Missing conversationSignature in response

owlcloud avatar Sep 27 '23 08:09 owlcloud

same here the bing provider is for some reason not giving any response.

devashish-bhake avatar Sep 27 '23 10:09 devashish-bhake

Bing does not provide a response because when creating a conversation, a json response is received, but without conversationSignature. The problem may be with authorization. I tried a proxy, the result was the same. I haven't tried cookies yet.

owlcloud avatar Sep 27 '23 11:09 owlcloud

the cookies will probably result the same. I am guessing the problem is in storing the cookies because it may not be able to keep the cookies active.

devashish-bhake avatar Sep 27 '23 11:09 devashish-bhake

One more peculiarity that i noticed when working with gradio for testing interfacing and prompting for gpt-4, is if you put a prompt and it throws an error with no logs in gradio terminal, just submitting a blank string after that error will result in the output of the previous prompt which resulted the error. I don't understand how and why did that happen.

devashish-bhake avatar Sep 27 '23 11:09 devashish-bhake

also with bing it most of the times results in 'Exception: Failed to create conversation.'

devashish-bhake avatar Sep 27 '23 12:09 devashish-bhake

i fixed the issue with conversationSignature and Failed to create conversation. if i clear the cookie jar, the second request works.

hlohaus avatar Oct 03 '23 08:10 hlohaus

could you elaborate step by step or in code so that I can get a better idea..?

devashish-bhake avatar Oct 05 '23 14:10 devashish-bhake

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

github-actions[bot] avatar Oct 13 '23 00:10 github-actions[bot]

You can now pass proxy at create:

...create(...., proxy="http://host:post")

hlohaus avatar Oct 14 '23 08:10 hlohaus