Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor agent interface a bit #74

Merged
merged 11 commits into from
Mar 21, 2024
Prev Previous commit
Next Next commit
remove dupe add_event
  • Loading branch information
rbren committed Mar 21, 2024
commit f4991a211a589b3d126a9e69f57f659268ff991e
1 change: 0 additions & 1 deletion agenthub/langchains_agent/utils/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ def get_next_action(self, cmd_mgr):
action_dict = llm.request_action(self.task, self.monologue.get_thoughts(), cmd_mgr.background_commands)
event = Event(action_dict['action'], action_dict['args'])
self.latest_action = event
self.add_event(event)
return event