Igor

Results 17 comments of Igor

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...

I don't think that's planned in the near future. The current library used for working with websockets (aiohttp) is asynchronous, as the name implies, and I can't use other libraries...

> Just a suggestion, you may want to look into curl_cffi / curl_impersonate \+ 1 for curl impersonate. You don't need a whole browser, in fact you just need any...

This happens sometimes, curl-cffi is not a perfect library, and c.ai does not always behave consistently. You must handle all errors yourself and repeat method calls again manually. This library...

Hi, you don't have to open this url. You should to go to the c.ai website, open the network section of dev tools, go to your profile on the website...

Try to add ` asyncio.set_event_loop_policy(WindowsSelectorEventLoopPolicy())` to your code. Seems like i forgot to add this in my library. Will be fixed in the next version.

It seems to be caused by Russian characters in your user name. C:\Users\\**Антон**\Desktop\test.venv\lib\site-packages\PyCharacterAI\requester.py I know from my own experience that it is better to avoid any Unicode characters in the...

Hi, the repository is alive. Could you please provide me with your code that you think is causing this problem?

Try to use it without streaming ```Python async def send_ai_message(channel_id, message_content, user_name): chat_data = active_chats.get(channel_id) if not chat_data or not chat_data["is_active"]: return None client = chat_data["client"] character_id = chat_data["character_id"] chat_id...

Oh, sorry, my bad. It should return `text.strip()` instead of `full_response.strip()` I'm not quite sure what character limit you've encountered, the Library is definitely working as it should.