Skip to content

Commit

Permalink
Prompt engingeerd: fixed looping hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarAlvik committed Nov 12, 2024
1 parent d1f6e59 commit aa10fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/noder.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def jarvis_agent(state: GraphState):
som times you have to use multiple tools from multiple diffrent tools that has been called to complte the users requests.
if you calender is sent to you for a second or third time you should generate instead of using tools.
if you get a complex task you should call a tool to help you solve the task.
If you have called for weather data you should generate instead of calling for weather data again.
If you have already done calculations you should generate instead of doing calculations again.
Here are previous messages:
Message: {messages}
Expand Down

0 comments on commit aa10fdd

Please sign in to comment.