Spaces:
Runtime error
Runtime error
fix managed agents
Browse files- app.py +1 -3
- prompts_mas.ymal +1 -1
app.py
CHANGED
@@ -85,9 +85,7 @@ coordinator_agent = CodeAgent(
|
|
85 |
final_answer,
|
86 |
image_generation_tool
|
87 |
],
|
88 |
-
managed_agents=
|
89 |
-
'tour_guide_agent': tour_guide_agent
|
90 |
-
},
|
91 |
max_steps=6,
|
92 |
verbosity_level=1,
|
93 |
name="Journi",
|
|
|
85 |
final_answer,
|
86 |
image_generation_tool
|
87 |
],
|
88 |
+
managed_agents=[tour_guide_agent],
|
|
|
|
|
89 |
max_steps=6,
|
90 |
verbosity_level=1,
|
91 |
name="Journi",
|
prompts_mas.ymal
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
STEP 2: Get tourist recommendations from the tour guide agent
|
15 |
```python
|
16 |
# Get tourist recommendations
|
17 |
-
tour_info =
|
18 |
print(f"Found tourist information for {destination}")
|
19 |
```
|
20 |
|
|
|
14 |
STEP 2: Get tourist recommendations from the tour guide agent
|
15 |
```python
|
16 |
# Get tourist recommendations
|
17 |
+
tour_info = Tour Guide Agent(task=f"What are the most popular tourist attractions in {destination}?")
|
18 |
print(f"Found tourist information for {destination}")
|
19 |
```
|
20 |
|