feat: better prompt for searching

This commit is contained in:
josc146
2023-03-30 20:26:45 +08:00
parent 479178a550
commit 58203aa315
+3 -1
View File
@@ -92,7 +92,9 @@ async function getInput(inputQuery) {
else if (searchInput.textContent) input = searchInput.textContent
if (input)
return (
`Reply in ${await getPreferredLanguage()}.\nThe following is a search input in a search engine, giving useful content or solutions related to it:\n` +
`Reply in ${await getPreferredLanguage()}.\nThe following is a search input in a search engine, ` +
`giving useful content or solutions and as much information as you can related to it, ` +
`use markdown syntax to make your answer more readable, such as code blocks, bold, list:\n` +
input
)
}