father-bot / chatgpt_telegram_bot

💬 Telegram bot with ChatGPT, Python-based, using OpenAI's API.
https://t.me/chatgpt_karfly_bot
MIT License
5.09k stars 1.77k forks source link

Deployment issues #373

Open Hochinwei opened 12 months ago

Hochinwei commented 12 months ago

Traceback (most recent call last): chatgpt_telegram_bot | File "bot/bot.py", line 33, in chatgpt_telegram_bot | import config chatgpt_telegram_bot | File "/code/bot/config.py", line 8, in chatgpt_telegram_bot | with open(config_dir / "config.yml", 'r') as f: chatgpt_telegram_bot | FileNotFoundError: [Errno 2] No such file or directory: '/code/config/config.yml'

I found a similar thread that was closed, but could not find the solution. I have already ensured my config files are renamed exactly as stated. What could be the issue?

karfly commented 11 months ago

Hmm. Could you run from chatgpt_telegram_bot: ls config?