Skip to content

Commit

Permalink
Optimize test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Jan 13, 2025
1 parent 7d5c507 commit 4a3ad89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/tools/test_component_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

import json
import os
import pytest
from typing import Dict, List
from dataclasses import dataclass
from haystack import component
from haystack import Pipeline
from haystack.components.websearch.serper_dev import SerperDevWebSearch
from haystack.dataclasses import Document
from haystack.dataclasses import ChatMessage, ChatRole
from haystack.components.tools.tool_invoker import ToolInvoker
from typing import Dict, List

import pytest

from haystack import Pipeline, component
from haystack.components.generators.chat import OpenAIChatGenerator
from haystack.components.tools.tool_invoker import ToolInvoker
from haystack.components.websearch.serper_dev import SerperDevWebSearch
from haystack.dataclasses import ChatMessage, ChatRole, Document
from haystack.tools import ComponentTool
from haystack.utils.auth import Secret

Expand Down

0 comments on commit 4a3ad89

Please sign in to comment.