Skip to content

Commit

Permalink
Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninoLorenzo committed Aug 4, 2024
1 parent e96b294 commit 3ed126e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def query(self, sid: int, user_in: str):
messages,
tools=self.tools
)
# TODO:
# results are added in the current `messages`, but are not persisted in memory
if tool_response['message'].get('tool_calls'):
results = self.invoke_tools(tool_response)
messages.extend(results)
Expand Down

0 comments on commit 3ed126e

Please sign in to comment.