We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3f625 commit 65c345aCopy full SHA for 65c345a
client.js
@@ -146,7 +146,7 @@ class Client {
146
if (response.startsWith("no character found for"))
147
throw Error("Character with this id was not found");
148
149
- if (response === "history not found." || response === "No Such History" || response === "there is no history between user and character") { // Create a new chat
+ if (response === "No Such History" || response === "there is no history between user and character") { // Create a new chat
150
request = await this.requester.request("https://beta.character.ai/chat/history/create/", {
151
body: Parser.stringify({
152
character_external_id: characterId,
0 commit comments