Closed rishavpaul95 closed 10 months ago
Is your package up to date?
Yes.
const CharacterAI = require("node_characterai");
const characterAI = new CharacterAI();
(async () => {
// Authenticating as a guest (use `.authenticateWithToken()` to use an account)
await characterAI.authenticateAsGuest();
// Place your character's id here
const characterId = "8_1NyR8w1dOXmI1uWaieQcd147hecbdIK7CeEAIrdJw";
const chat = await characterAI.createOrContinueChat(characterId);
// Send a message
const response = await chat.sendAndAwaitResponse("Hello discord mod!", true);
console.log(response);
// Use `response.text` to use it as a string
})();
This test no longer gives a response
It seems characterAI guest responses are down. I am sorry for posting without checking.
I will try the sample and investigate. In the meantime, could you try via using a token?
Yes. Tokens are working. CharacterAI site is itself down. Servers are down on their end for guest users
After testing, it seems like the chatting (/streaming/) CharacterAI for guests is down. In the meantime, I recommend you use an access token or wait for it to become online again.
Thank you!
Update: the service seems to be back up.
resource: the server responded with a status of 524 ()