Skip to content

Commit

Permalink
chore: ToolInvoker - remove warning (#8803)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Feb 4, 2025
1 parent 877f826 commit ad5d29d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions haystack/components/tools/tool_invoker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ad5d29d

Please sign in to comment.