Revert "update"

This reverts commit 01643253bce7578720a545c4b94c49064c426d7d.
This commit is contained in:
woodchen 2023-08-14 12:00:19 +08:00
parent 01643253bc
commit a893f6c600
3 changed files with 604 additions and 1329 deletions

1925
css.css

File diff suppressed because it is too large Load Diff

View File

@ -133,7 +133,7 @@
<img src="https://cdn-img.czl.net/2023/08/10/64d3b992cf86e.png" />
</div>
</div>
<div class="chat-header">You</div><div class="prose chat-bubble chat-bubble-info">${message}</div><div>`);
<div class="chat-header">You</div><div class="chat-bubble chat-bubble-info">${message}</div><div>`);
userInput.val("");
sendButton.html('<span class="loading loading-infinity loading-lg"></span>');
sendButton.removeClass('btn-info').addClass('btn-error');
@ -211,7 +211,7 @@
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
</div>
</div>
<div class="chat-header">AI</div><div class="prose chat-bubble chat-bubble-error prose prose-slate">Error: ${response.error.message}</div><div>`);
<div class="chat-header">AI</div><div class="chat-bubble chat-bubble-error prose prose-slate">Error: ${response.error.message}</div><div>`);
});
} catch (error) {
@ -222,7 +222,7 @@
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
</div>
</div>
<div class="chat-header">AI</div><div class="prose chat-bubble chat-bubble-error prose prose-slate">Error: ${error.message}</div><div>`);
<div class="chat-header">AI</div><div class="chat-bubble chat-bubble-error prose prose-slate">Error: ${error.message}</div><div>`);
}
}
});

View File

@ -6,7 +6,7 @@ module.exports = {
// add daisyUI plugin
plugins: [
require("daisyui"),
require("daisyui")
],