mirror of
https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama.git
synced 2025-04-23 18:19:10 +00:00
update relative imports in search_providers
This commit is contained in:
parent
fe890d739c
commit
a9af253988
3 changed files with 8 additions and 8 deletions
src
|
@ -19,7 +19,7 @@ import tty
|
|||
from threading import Event
|
||||
from urllib.parse import urlparse
|
||||
from pathlib import Path
|
||||
from system_config import get_research_config
|
||||
from .system_config import get_research_config
|
||||
|
||||
# Initialize colorama for cross-platform color support
|
||||
if os.name == 'nt': # Windows-specific initialization
|
||||
|
|
|
@ -6,7 +6,7 @@ from typing import Dict, List, Any, Optional
|
|||
from time import sleep
|
||||
|
||||
from .system_config import get_search_config
|
||||
from search_providers.factory import SearchProviderFactory
|
||||
from .search_providers.factory import SearchProviderFactory
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
"""Factory for creating search providers based on configuration."""
|
||||
|
||||
from typing import Type, Dict, Any
|
||||
from search_providers.base_provider import BaseSearchProvider
|
||||
from search_providers.bing_provider import BingSearchProvider
|
||||
from search_providers.brave_provider import BraveSearchProvider
|
||||
from search_providers.exa_provider import ExaSearchProvider
|
||||
from search_providers.tavily_provider import TavilySearchProvider
|
||||
from system_config import get_search_config
|
||||
from .base_provider import BaseSearchProvider
|
||||
from .bing_provider import BingSearchProvider
|
||||
from .brave_provider import BraveSearchProvider
|
||||
from .exa_provider import ExaSearchProvider
|
||||
from .tavily_provider import TavilySearchProvider
|
||||
from ..system_config import get_search_config
|
||||
|
||||
class SearchProviderFactory:
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue