From 58203aa315d9dd40a627a9691721ce54e215213e Mon Sep 17 00:00:00 2001 From: josc146 Date: Thu, 30 Mar 2023 20:26:45 +0800 Subject: [PATCH] feat: better prompt for searching --- src/content-script/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content-script/index.jsx b/src/content-script/index.jsx index 4b9f1da..cd3d726 100644 --- a/src/content-script/index.jsx +++ b/src/content-script/index.jsx @@ -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 ) }