Skip to content

Commit 6ad7caa

Browse files
committed
update explain prompt
1 parent 7bffd15 commit 6ad7caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ExplainQueryButton/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const ExplainQueryButton = ({
6666
const currentModel = currentModelValue!
6767
const apiKey = apiKeyValue!
6868
void (async () => {
69-
const fullApiMessage = `Explain this SQL query with 2-4 sentences:\n\n\`\`\`sql\n${queryText}\n\`\`\``
69+
const fullApiMessage = `Using your tools when necessary, explain this SQL query in detail.:\n\n\`\`\`sql\n${queryText}\n\`\`\``
7070

7171
addMessage({
7272
role: "user",

0 commit comments

Comments
 (0)