Skip to content

Commit 3b5bd9b

Browse files
committed
feat: better prompt for searching
1 parent 735e577 commit 3b5bd9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content-script/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ async function getInput(inputQuery) {
9292
else if (searchInput.textContent) input = searchInput.textContent
9393
if (input)
9494
return (
95-
`Reply in ${await getPreferredLanguage()}.\nThe following is a search input in a search engine, giving useful content or solutions related to it:\n` +
95+
`Reply in ${await getPreferredLanguage()}.\nThe following is a search input in a search engine, ` +
96+
`giving useful content or solutions and as much information as you can related to it, ` +
97+
`use markdown syntax to make your answer more readable, such as code blocks, bold, list:\n` +
9698
input
9799
)
98100
}

0 commit comments

Comments
 (0)