PLBot commited on
Commit
d48eac2
·
1 Parent(s): 32d85ea

fix managed agents

Browse files
Files changed (2) hide show
  1. app.py +1 -3
  2. 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 = tour_guide_agent(task=f"What are the most popular tourist attractions in {destination}?")
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