diff --git a/smartassist/src/static/js/frontend.js b/smartassist/src/static/js/frontend.js index 4af1caf..6e770fd 100644 --- a/smartassist/src/static/js/frontend.js +++ b/smartassist/src/static/js/frontend.js @@ -25,6 +25,7 @@ const frontendApi = { fetch(window.apiEndpoint, { method: 'POST', headers: { 'Content-Type': 'application/json' }, + // body: JSON.stringify({ query }), // Add these parameters here body: JSON.stringify({ query, model: window.useModel }), // Add these parameters here }) .then(response => response.json())