-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
17 lines (13 loc) · 763 Bytes
/
Copy path__init__.py
File metadata and controls
17 lines (13 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Provider adapters — one place per external service.
Before this layer existed, Exa was wrapped in three independent modules
(``services/crews/tools/exa_search.py``, ``services/data_sources/connectors/exa.py``,
``services/research/exa_search.py``) and Gemini in two. Each had its own
retry policy, error handling, and missing-key behaviour — so a provider
change was a multi-place edit.
Now each provider has exactly one adapter module here. Domain code
imports from this layer; SDK access lives nowhere else.
Public re-exports below; explicit so editors can jump to symbol.
"""
from .exa import ExaProvider, exa_provider
from .gemini import GeminiProvider, gemini_provider
__all__ = ["ExaProvider", "exa_provider", "GeminiProvider", "gemini_provider"]