Skip to content
Snippets Groups Projects
Verified Commit 10d5de44 authored by victor mutai's avatar victor mutai
Browse files

chore: remove highlighted text from prompt

parent 5c246cac
No related branches found
No related tags found
1 merge request!546Remove "Highlighted text" from AI prompt
......@@ -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