xtekky / chatgpt-clone

ChatGPT interface with better UI
https://g4f.ai
GNU General Public License v3.0
3.44k stars 1.03k forks source link

Max retries exceeded with url: /v1/chat/completions #77

Closed ozbillwang closed 1 year ago

ozbillwang commented 1 year ago
{
  "_action": "_ask",
  "error": "an error occurred HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd22fbefeb0>: Failed to establish a new connection: [Errno 111] Connection refused')))",
  "success": false
}

image

ozbillwang commented 1 year ago

wait, not set the API key.

Will do that

ozbillwang commented 1 year ago

I can confirm the setting in config.json is proper. I successfully used the same API Key in VS Code.

But I still get this error

ozbillwang commented 1 year ago

Ok, let proxy to false in config.json, it works now.

But the speed is terrible, but seems it is only v0.0.1, it is acceptible.

Great jobs, well done 👍

ozbillwang commented 1 year ago

So not support GPT-4 yet? I didn't get result if choice mode gpt-4