Closed KnightCoder248 closed 2 months ago
Hi. At the time this issue was created, the library was very outdated. A lot of things have changed in the api over the last year, so I've released a new version 2.0 that fixes many bugs and includes many new features, but unfortunately breaks backwards compatibility. If you are still interested in this project, you can check out the new version and read the documentation.
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.