We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f909d4f commit 7e796f7Copy full SHA for 7e796f7
widget/app.js
@@ -63,7 +63,8 @@ document.addEventListener('DOMContentLoaded', () => {
63
});
64
65
const data = await response.json();
66
- return data.choices[0].message.content;
+ return data.answer;
67
+ //return data.choices[0].message.content;
68
} catch (error) {
69
console.error('Error fetching API:', error);
70
return "Sorry, I couldn't connect to the server.";
0 commit comments