docs: fixing typo docstring (#9493)

This commit is contained in:
David S. Batista 2025-06-05 10:43:17 +01:00 committed by GitHub
parent b69d261280
commit 529a7f5b6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ class Agent:
"""
A Haystack component that implements a tool-using agent with provider-agnostic chat model support.
The component processes messages and executes tools until a exit_condition condition is met.
The component processes messages and executes tools until an exit_condition condition is met.
The exit_condition can be triggered either by a direct text response or by invoking a specific designated tool.
When you call an Agent without tools, it acts as a ChatGenerator, produces one response, then exits.