Experimenterar med olika parametrar i anrop till sendMessage() för att säkerställa att byte till ny modell verkligen görs.

This commit is contained in:
2024-08-06 22:07:18 +02:00
parent 5b143e75e0
commit 32098e3452
+1
View File
@@ -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())