Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
23b08d4cf5 | |||
c66d325d8f | |||
833ebade22 | |||
6bbdc72162 |
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
||||
https://chat.w-q.top:520
|
||||
|
||||
OpenAI官方API的套壳网站。
|
||||
|
||||
试图规避ChatGPT的使用门槛,把科技带给更多人。
|
||||
|
||||
雷锋同志做好事从不留名。
|
||||
|
||||
如果一定要一个姓名,请叫我Prometheus.
|
@ -105,7 +105,7 @@ def chat_post():
|
||||
msg_resp = openai_resp['choices'][0]['message']['content']
|
||||
except Exception as e:
|
||||
logger.error("OpenAI API request failed: %s", repr(e))
|
||||
msg_resp = "请求错误,请尝试重发。如果持续错误,请联系管理员检查。"
|
||||
msg_resp = "请求错误,请尝试重发。如果持续错误,请联系管理员检查。" + "\n"+"错误信息: " + repr(e)
|
||||
time.sleep(1)
|
||||
|
||||
if msg_resp:
|
||||
|
Reference in New Issue
Block a user