Spaces:
Running
Running
Merge pull request #11 from eltociear/patch-1
Browse files- client/js/chat.js +1 -1
client/js/chat.js
CHANGED
@@ -146,7 +146,7 @@ const ask_gpt = async (message) => {
|
|
146 |
// if text contains :
|
147 |
if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
|
148 |
document.getElementById(`gpt_${window.token}`).innerHTML =
|
149 |
-
"An error
|
150 |
}
|
151 |
|
152 |
add_message(window.conversation_id, "user", message);
|
|
|
146 |
// if text contains :
|
147 |
if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
|
148 |
document.getElementById(`gpt_${window.token}`).innerHTML =
|
149 |
+
"An error occurred, please reload / refresh cache and try again.";
|
150 |
}
|
151 |
|
152 |
add_message(window.conversation_id, "user", message);
|