fix(unit2): fix typo in system message prompt
#136
by dzrex - opened
unit2/langgraph/agent.ipynb
CHANGED
|
@@ -177,7 +177,7 @@
|
|
| 177 |
" Divide a and b\n",
|
| 178 |
"\"\"\"\n",
|
| 179 |
" image = state[\"input_file\"]\n",
|
| 180 |
-
" sys_msg = SystemMessage(content=f\"You are an helpful agent that can analyse some images and run some
|
| 181 |
"\n",
|
| 182 |
" return {\"messages\": [llm_with_tools.invoke([sys_msg] + state[\"messages\"])], \"input_file\": state[\"input_file\"]}"
|
| 183 |
],
|
|
|
|
| 177 |
" Divide a and b\n",
|
| 178 |
"\"\"\"\n",
|
| 179 |
" image = state[\"input_file\"]\n",
|
| 180 |
+
" sys_msg = SystemMessage(content=f\"You are an helpful agent that can analyse some images and run some computation with provided tools :\\n{textual_description_of_tool} \\n You have access to some otpional images. Currently the loaded images is : {image}\")\n",
|
| 181 |
"\n",
|
| 182 |
" return {\"messages\": [llm_with_tools.invoke([sys_msg] + state[\"messages\"])], \"input_file\": state[\"input_file\"]}"
|
| 183 |
],
|