mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-18 12:40:06 +08:00
The code was directly importing openai.error which fails with openai>=1.0. The project already has an openai_compat.py compatibility layer that handles both old (<1.0) and new (>=1.0) OpenAI SDK versions. This commit updates chat_gpt_bot.py to use the compatibility layer. Related: #2687
0 lines
0 B
Plaintext
0 lines
0 B
Plaintext
The file is empty.