This commit is contained in:
Raven Scott
2024-10-04 20:34:47 -04:00
parent abd246a4fd
commit 62ccbf00e2
2 changed files with 239 additions and 1 deletions

View File

@ -32,7 +32,7 @@ async function sendMessage() {
if (response.ok) {
const data = await response.json();
displayMessage(data.content, 'assistant');
displayMessage(data, 'assistant');
} else {
handleErrorResponse(response.status);
}