mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 23:52:23 +02:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user