ai generation

This commit is contained in:
Om Raheja 2024-05-18 13:50:44 -04:00
parent 0c10365da1
commit caafa84910

View File

@ -121,7 +121,7 @@
const data = await response.json();
const content = data.choices[0].message.content;
return `<p>${content}</p>`;
return content;
} catch (error) {
return `<p>Error: ${error.message}</p>`;
}