Spaces:
Sleeping
Sleeping
Update whalecore/agents.py
Browse files- whalecore/agents.py +1 -1
whalecore/agents.py
CHANGED
@@ -17,7 +17,7 @@ def load_agents(config_path="config.yaml"):
|
|
17 |
print("🧠 YAML loaded:", config)
|
18 |
|
19 |
agents = []
|
20 |
-
for agent_conf in config:
|
21 |
agent = Agent(
|
22 |
name=agent_conf['name'],
|
23 |
persona=agent_conf['persona'],
|
|
|
17 |
print("🧠 YAML loaded:", config)
|
18 |
|
19 |
agents = []
|
20 |
+
for agent_conf in config['agents']:
|
21 |
agent = Agent(
|
22 |
name=agent_conf['name'],
|
23 |
persona=agent_conf['persona'],
|