Skip to content

Commit 65c345a

Browse files
authored
Added TTS voices fetching
1 parent bf3f625 commit 65c345a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Client {
146146
if (response.startsWith("no character found for"))
147147
throw Error("Character with this id was not found");
148148

149-
if (response === "history not found." || response === "No Such History" || response === "there is no history between user and character") { // Create a new chat
149+
if (response === "No Such History" || response === "there is no history between user and character") { // Create a new chat
150150
request = await this.requester.request("https://beta.character.ai/chat/history/create/", {
151151
body: Parser.stringify({
152152
character_external_id: characterId,

0 commit comments

Comments
 (0)