-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Auth System may have changed again #185
Comments
Hello there, guests are now a deprecated feature from the old character ai interface, that completely shut down on September 24th, 2024. The related article is here. To find your authorization token, see the cookies As of currently, you can only log in to node_characterai with a token. I apologize for any issues caused, but it is out of my control. The issue #180 (comment) covers the 2.0 roadmap, or the "neo" (new) interface. Cheers |
Thank you for helping. I would love to contribute to this project, however, I'm limited to what I can do since there is no public API for reference. I would love to show you something that I am working on using this package. Is there a way to disconnect the chromium instances that are made? They just stay open until they are closed. |
Thank you for showing your interest and support! Feel free to contact me and show me what you are working on, I'd love to see it. Yes working with the constantly changing infrastructure and new endpoints is pretty hard and tedious to do. The website is extremely unreliable that I have to remotely work with my laptop, and the rest of the endpoints are through the Android app, and I (literally) use very obscure android devices in order to proxy up and get all the requests and be able to make this work. Seriously, I did NOT know how hard it was to inspect traffic and work on it. I don't have all the time I wish for to work on this but I am still actively working actively on it. Most of the endpoints have to be figured out by yourself because the android endpoints differ from the PC ones and they don't have Cloudflare limitations and have much more features.
Processes should removed by default automatically and you shouldn't have to disconnect them by hand normally. Know that on the new endpoint, I am actively working on the websocket support and ditch chromium/puppeteer completely for the android endpoints, which can be risky, but the entire codebase restructure makes it better for that use case, I've also been focused on strongly typing out everything, but that means I have to test all requests individually and adapt per response case. Almost NOTHING in the CharacterAI's new (neo) is NOT constant. Responses are almost all different. The API infrastructure is extremely strange and needs a LOT of manual work. Cheers |
I'm having issues getting it to work, signed in as a guest. I can't seem to find char_id in localstorage any more.
[node_characterai] Puppeteer - Warning: Guest users can only send up to 10 messages.
[node_characterai] Puppeteer - This is an experimental feature. Please report any issues on github.
[node_characterai] Puppeteer - Done with setup
[node_characterai] Puppeteer - Eval-fetching is an experimental feature and may be slower. Please report any issues on github
ai.user.username undefined
Error in CharacterAI handler: TypeError: Cannot read properties of undefined (reading 'user')
The text was updated successfully, but these errors were encountered: