From 529a7f5b6a78415e24e7952879fdb9b47d11a50c Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Thu, 5 Jun 2025 10:43:17 +0100 Subject: [PATCH] docs: fixing typo docstring (#9493) --- haystack/components/agents/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/agents/agent.py b/haystack/components/agents/agent.py index 1571d4cd4..b103a4dbe 100644 --- a/haystack/components/agents/agent.py +++ b/haystack/components/agents/agent.py @@ -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.