PyCharacterAI icon indicating copy to clipboard operation
PyCharacterAI copied to clipboard

Could not create a new chat?

Open KnightCoder248 opened this issue 1 year ago • 0 comments

This repository may seem old but I'm currently working on to integrate this api onto a discord bot somehow. I'm also using replit.com as the platform for it to run. Here's the error log:

Traceback (most recent call last): File "/home/runner/PyCharacterAI-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 441, in _run_event await coro(*args, **kwargs) File "/home/runner/PyCharacterAI-1/main.py", line 45, in on_ready await setup_character_ai() File "/home/runner/PyCharacterAI-1/main.py", line 40, in setup_character_ai chat_session = await client.create_or_continue_chat(character_id) File "/home/runner/PyCharacterAI-1/PyCharacterAI/client.py", line 285, in create_or_continue_chat raise Exception('Could not create a new chat.') Exception: Could not create a new chat.

KnightCoder248 avatar May 02 '24 09:05 KnightCoder248