Skip to content

Commit

Permalink
reverting back to old change in few places
Browse files Browse the repository at this point in the history
  • Loading branch information
TransformerOptimus committed Jun 9, 2023
1 parent 7e51421 commit f0b515a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gui/pages/Content/Agents/AgentCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function AgentCreate({sendAgentData, selectedProjectId, fetchAgen

const constraintsArray = [
"If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.",
"Ensure the command and args are as per current plan and reasoning",
'Exclusively use the commands listed in double quotes e.g. "command name"'
];
const [constraints, setConstraints] = useState(constraintsArray);
Expand Down
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def build_single_step_agent():
first_step.prompt = output["prompt"]
first_step.variables = str(output["variables"])
first_step.output_type = "tools"
first_step.completion_prompt = "Determine which next tool to use, and respond using the format specified above:"
session.commit()
first_step.next_step_id = first_step.id
session.commit()
Expand Down
3 changes: 1 addition & 2 deletions superagi/jobs/agent_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ def execute_next_action(self, agent_execution_id):
return "Agent Not found"

tools = [
ThinkingTool(),
WebScraperTool(),
ThinkingTool()
]

parsed_config = Agent.fetch_configuration(session, agent.id)
Expand Down

0 comments on commit f0b515a

Please sign in to comment.