realcoloride / node_characterai

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

Error: Could not get the full reply because it was aborted. This happens often when the output was filtered for violent or explicit content. #179

Closed ToxiPain closed 1 month ago

ToxiPain commented 1 month ago

I've had that error while using the API in my bot. I haven't sent anything bad or anything like that, it just came out and it doesn't change even that I put a new AI character... why is that?

Error: Could not get the full reply because it was aborted. This happens often when the output was filtered for violent or explicit content.

realcoloride commented 1 month ago

Hey there!

This means like said that the output got filtered and aborted. Double check your character's prompt/description or messages.

It is the equivalent of having this: image

ToxiPain commented 1 month ago

But it continues to appear even when I change the character to another with diferent ID, I also tried to change the token, by any chance is there no file saved that causes the error ?? Because i tried to reinstall all and it doesnt work

By the way, thank you very much for trying to help and answer quickly!

Topandhi commented 1 month ago

same here, its happen today, yesterday it work fine

Topandhi commented 1 month ago

then when i check on c.ai website, messages already there, but i dont get response from the api

Topandhi commented 1 month ago

Bug Report: API Response Error and Chat History Discrepancy Description: When using the API to chat with the bot, the chat history is correctly updated on the website, but no response is received through the API. Steps to Reproduce: 1.Take a screenshot of the chat history on the website. 2.Initiate a chat with the bot integrated with the nodecharacter_ai API. 3.Encounter the error message shown in the screenshot and receive a response indicating violent or explicit content. 4.Take a screenshot of the updated chat history on the website, confirming it is updated despite the error.

Expected Behavior: The API should return the bot's response along with updating the chat history on the website.

Actual Behavior: The chat history is updated on the website, but no response is received from the API, and an error message is displayed.

Screenshots: Before Chat: AFTER CHAT

After Chat: BEFORE CHAT

Error Message: DC

Additional Information: The chat history is correctly displayed and updated on the website. No response is received from the API endpoint.

Topandhi commented 1 month ago

I added a log to the chat.js file: log

I got this error: "No eligible candidates" error response

gamersindo1223 commented 1 month ago

Tried using an old chat looks like the /conversation endpoint cannot be used anymore

gamersindo1223 commented 1 month ago

https://old.character.ai/chat?char=8_1NyR8w1dOXmI1uWaieQcd147hecbdIK7CeEAIrdJw&source=recent-chats

realcoloride commented 1 month ago

No eligible candidates? Oh no.. Perhaps they've changed the endpoints again. I'll investigate ASAP.

fractalpublic commented 1 month ago

Same problem here. Of course they change the endpoints the exact day I start using this.

gamersindo1223 commented 1 month ago

looks like you can only chat using ws connection only

gamersindo1223 commented 1 month ago

image it started to work again.

Topandhi commented 1 month ago

check it again, and it work fine

realcoloride commented 1 month ago

Hello again, is it working? It seems to be working fine for me

gamersindo1223 commented 1 month ago

Yeah It's working