Skip to content

Commit

Permalink
Add initial agent automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Apr 21, 2023
1 parent 1d4b03b commit cca5476
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ def get_agents(self):
if file.endswith(".yaml"):
agents.append(file.replace(".yaml", ""))
output = []
if not agents:
# Create a new agent
self.add_agent("Agent-LLM")
agents = ["Agent-LLM"]
for agent in agents:
try:
agent_instance = self.agent_instances[agent]
Expand Down

0 comments on commit cca5476

Please sign in to comment.