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