realcoloride / node_characterai

Unofficial Character AI wrapper for node.
https://beta.character.ai/
347 stars 71 forks source link

The Auth System may have changed again #185

Open ameshkin opened 2 days ago

ameshkin commented 2 days ago

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')

realcoloride commented 2 days ago

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. The 2.0 update will get rid of guest mode completely.

To find your authorization token, see the cookies HTTP_AUTHORIZATION key or click here

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 https://github.com/realcoloride/node_characterai/issues/180#issue-2424141450 covers the 2.0 roadmap, or the "neo" (new) interface.

Cheers