Skip to content

Commit dca175c

Browse files
author
ajosh0504
committed
Adding message about infinite tool calls
1 parent d70999f commit dca175c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/60-create-agent/6-build-and-execute-graph.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,8 @@ graph.add_conditional_edges(
6363
)
6464
```
6565
</div>
66-
</details>
66+
</details>
67+
68+
:::caution
69+
Upon executing the graph, if you see the agent get stuck in an infinite tool-calling loop, play around with the prompt in Step 7 and run the cells that follow until you initialize the `llm_with_tools` variable. If this doesn't work, consider this a lesson in working with non-deterministic ML models. 🙂
70+
:::

0 commit comments

Comments
 (0)