Update sql-agent.ipynb (#4702)

On line 586, the check_query function should use
check_query_system_prompt. Instead, small mistake it is using the
generate_query_system_prompt prompt which is obviously incorrect.
This commit is contained in:
Hussein Akbarzadeh
2025-05-15 20:26:36 +00:00
committed by GitHub
parent f60a06441b
commit 2b603a6ab0
+1 -1
View File
@@ -583,7 +583,7 @@
"def check_query(state: MessagesState):\n",
" system_message = {\n",
" \"role\": \"system\",\n",
" \"content\": generate_query_system_prompt,\n",
" \"content\": check_query_system_prompt,\n",
" }\n",
"\n",
" # Generate an artificial user message to check\n",