Agent can't stop on function calls and keeps iterating in an infinite loop on function tools #18279
Replies: 2 comments 6 replies
-
🤖 Hey @SalmaAmrAhmed, great to see you back! Hope you're doing well. Based on the code you've provided, it seems like the In your One possible reason for this could be that the To resolve this issue, you might need to adjust the way the You can refer to the following resources for more information on how the I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
|
Beta Was this translation helpful? Give feedback.
-
Follow instructions here -- https://python.langchain.com/docs/modules/agents/how_to/custom_agent#create-the-agent agent definition doesn't look right |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Agent: How can I help you?
2+3
Invoking:
add
with{'first_int': 2, 'second_int': 3}
5
Invoking:
add
with{'first_int': 2, 'second_int': 3}
5
Invoking:
add
with{'first_int': 2, 'second_int': 3}
5
Beta Was this translation helpful? Give feedback.
All reactions