Agents, supercharged - Multi-agents, External tools, and more docs typo fixed (#33478)

* Typo fixed in Agents, supercharged
This commit is contained in:
Sergio Paniego Blanco 2024-09-16 18:52:27 +02:00 committed by GitHub
parent 2f62146f0e
commit c7a91f5adf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ You can easily build hierarchical multi-agent systems with `transformers.agents`
To do so, encapsulate the agent in a [`ManagedAgent`] object. This object needs arguments `agent`, `name`, and a `description`, which will then be embedded in the manager agent's system prompt to let it know how to call this managed agent, as we also do for tools.
Here's an example of making an agent that managed a specitif web search agent using our [`DuckDuckGoSearchTool`]:
Here's an example of making an agent that managed a specific web search agent using our [`DuckDuckGoSearchTool`]:
```py
from transformers.agents import ReactCodeAgent, HfApiEngine, DuckDuckGoSearchTool, ManagedAgent