Closed Erol444 closed 1 year ago
Check https://github.com/acheong08/ChatGPT/releases/tag/6.2.2 and see if it works
I got success on my end
Yep, works now, thanks!
Yep, works now, thanks!
I updated the version to 6.2.2 changed removed all cached files, restarted router to get a new ip and I still get the same error. How it that possible?
Yep, works now, thanks!
You checked it with GPT4 aswell?
@Daedra22 yes. Note that on bot.ask()
/ bot.prompt()
you need to re-specify which model you are using, so request will send over additional data, example here:
https://github.com/Erol444/gpt4-openai-api/commit/0e0f2362cd0832df68f19876abda4e3aed227899#diff-1c0caa9facf9a04ddbc362ab73a5707d09e6ff923a7ecae9178ddf6d4cb78d41R37
@Daedra22 yes. Note that on
bot.ask()
/bot.prompt()
you need to re-specify which model you are using, so request will send over additional data, example here: Erol444/gpt4-openai-api@0e0f236#diff-1c0caa9facf9a04ddbc362ab73a5707d09e6ff923a7ecae9178ddf6d4cb78d41R37
Ok I got now the error, passing the model to the bot.ask prompt helped, but the errors still occurs if you got a very large prompt, where the continue generate button appears, this seem to make it crash.
@acheong08 so the bug still occurs on large prompts with auto_continue button. Can you see it?
Yup. I'll fix
You are the best, now it works. Super fast fixed, great job!
Is there an existing issue for this?
What happened?
When trying to execute a prompt with V1, OpenAI's servers throw an 406 error. Full error traceback can be found below.
Steps to reproduce the problem
Try to run ask() with V1 API.
What should have happened?
Is should work:)
Version where the problem happens
Tried both 6.2 (latest) and 6.0.2.
What Python version are you running this with?
3.9
What is your operating system ?
Windows
Command Line Arguments
Console logs