Skip to content

Commit

Permalink
Added TTS voices fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
realcoloride authored Jun 19, 2024
1 parent bf3f625 commit 65c345a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Client {
if (response.startsWith("no character found for"))
throw Error("Character with this id was not found");

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
request = await this.requester.request("https://beta.character.ai/chat/history/create/", {
body: Parser.stringify({
character_external_id: characterId,
Expand Down

0 comments on commit 65c345a

Please sign in to comment.