Giter Club home page Giter Club logo

Comments (11)

realcoloride avatar realcoloride commented on July 30, 2024 2

They do these kinds of unprevented things here and then sometimes. Sorry.

They might restore it soon, though. I will not change the README.md because it happened before and they restored the guest logins shortly. So just in case, if they (any developer) get the problem, they shall see this issue or open an issue and I will redirect them.

For now, please use authenticateWithToken, sorry for the incovenience!

from node_characterai.

SeoulSKY avatar SeoulSKY commented on July 30, 2024 1

sorry for the incovenience!

No worries. I appreciate your hard work, and I totally understand that this kind of problem might happen frequently with using their unofficial API :).

from node_characterai.

realcoloride avatar realcoloride commented on July 30, 2024 1

Hello, I have commited 144f2bb and experimental version 1.2.7 has been pushed. Please let me know if you get a proper error now.

from node_characterai.

SeoulSKY avatar SeoulSKY commented on July 30, 2024 1

Please let me know if you get a proper error now.

It now throws a proper error with the example code in README.md :)

Error: Too many messages! (this might be because you use a guest account or that characterai has restricted messages for guests.)
    at new Reply (/Users/swkim7519/Desktop/SoruSora/sorusora-ai/node_modules/node_characterai/message.js:119:48)
    at Chat.sendAndAwaitResponse (/Users/swkim7519/Desktop/SoruSora/sorusora-ai/node_modules/node_characterai/chat.js:68:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

from node_characterai.

SeoulSKY avatar SeoulSKY commented on July 30, 2024

Changing authenticateAsGuest() with authenticateWithToken() fixes the problem. I believe there is a problem in authenticateAsGuest()

from node_characterai.

realcoloride avatar realcoloride commented on July 30, 2024

Hello,

this is an intended error and nothing is wrong. Force login means you've reached the quota of messages. Sadly it looks like characterAI has restricted guests users.

from node_characterai.

codeblitz97 avatar codeblitz97 commented on July 30, 2024

@realcoloride restricted? Means we can no longer authenticate as guests?

from node_characterai.

realcoloride avatar realcoloride commented on July 30, 2024

Exactly. Try opening CharacterAI in an incognito tab and see how they restrict you from the first message.

from node_characterai.

codeblitz97 avatar codeblitz97 commented on July 30, 2024

Wow, character ai seriously removed guest authentication system, it's not a big issue though

from node_characterai.

SeoulSKY avatar SeoulSKY commented on July 30, 2024

@realcoloride It's odd that I got this error because I ran the code for the first time. Anyway, if authenticateAsGuest() no longer works, I think it would be better if you modify the example code in README.md because people might think your library no longer works or at least throw a custom error saying you used all quotas. Thank you!

from node_characterai.

realcoloride avatar realcoloride commented on July 30, 2024

least throw a custom error that the function no longer works

I will not make that but I will definitely make an exception and throw an error.

from node_characterai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.