From ad5d29d92fec1592ee8a8597df46ea09b9260f8a Mon Sep 17 00:00:00 2001 From: Stefano Fiorucci Date: Tue, 4 Feb 2025 10:39:17 +0100 Subject: [PATCH] chore: ToolInvoker - remove warning (#8803) --- haystack/components/tools/tool_invoker.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/haystack/components/tools/tool_invoker.py b/haystack/components/tools/tool_invoker.py index 55b363d1d1..6423fef483 100644 --- a/haystack/components/tools/tool_invoker.py +++ b/haystack/components/tools/tool_invoker.py @@ -3,7 +3,6 @@ # SPDX-License-Identifier: Apache-2.0 import json -import warnings from typing import Any, Dict, List from haystack import component, default_from_dict, default_to_dict, logging @@ -119,9 +118,6 @@ def __init__(self, tools: List[Tool], raise_on_failure: bool = True, convert_res If no tools are provided or if duplicate tool names are found. """ - msg = "The `ToolInvoker` component is experimental and its API may change in the future." - warnings.warn(msg) - if not tools: raise ValueError("ToolInvoker requires at least one tool to be provided.") _check_duplicate_tool_names(tools)