mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Update AI prompting
This commit is contained in:
@@ -14,7 +14,11 @@ document.getElementById('rewordButton').addEventListener('click', function() {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({ text: textInput.value, description: ticketDescription.value }),
|
||||
// Body with the text to reword and the ticket description
|
||||
body: JSON.stringify({
|
||||
text: textInput.value,
|
||||
ticketDescription: ticketDescription.innerText.valueOf(),
|
||||
}),
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
|
||||
Reference in New Issue
Block a user