Skip to content
Snippets Groups Projects
Commit f4f4098d authored by Christos's avatar Christos
Browse files

Merge branch '916-remove-highlighted-text' into 'master'

Remove "Highlighted text" from AI prompt

See merge request !546
parents 5c246cac 10d5de44
No related branches found
No related tags found
1 merge request!546Remove "Highlighted text" from AI prompt
Pipeline #58854 passed with stages
in 3 minutes and 28 seconds
......@@ -165,7 +165,7 @@ const AskAIOverlay = ({ setPosition, position, config }) => {
const highlightedText = main.state.doc.textBetween(from, to);
// Combine the user's input and the highlighted text
const combinedInput = `${inputValue}\n\nHighlighted Text: ${highlightedText}`;
const combinedInput = `${inputValue}\n\n${highlightedText}`;
try {
const response = await AskAiContentTransformation(combinedInput);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment