From 38504b3e45a3b8696477223fc29095b79148e072 Mon Sep 17 00:00:00 2001 From: Hemang Date: Fri, 7 Mar 2025 09:20:32 +0100 Subject: [PATCH] Rename utils.explorer to integrations.explorer. The integrations module will contain API calls. --- gateway/{utils => integrations}/__init__.py | 0 gateway/{utils => integrations}/explorer.py | 0 gateway/routes/anthropic.py | 2 +- gateway/routes/gemini.py | 2 +- gateway/routes/open_ai.py | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename gateway/{utils => integrations}/__init__.py (100%) rename gateway/{utils => integrations}/explorer.py (100%) diff --git a/gateway/utils/__init__.py b/gateway/integrations/__init__.py similarity index 100% rename from gateway/utils/__init__.py rename to gateway/integrations/__init__.py diff --git a/gateway/utils/explorer.py b/gateway/integrations/explorer.py similarity index 100% rename from gateway/utils/explorer.py rename to gateway/integrations/explorer.py diff --git a/gateway/routes/anthropic.py b/gateway/routes/anthropic.py index fc8ab02..39dbedc 100644 --- a/gateway/routes/anthropic.py +++ b/gateway/routes/anthropic.py @@ -11,7 +11,7 @@ from common.constants import ( CLIENT_TIMEOUT, IGNORED_HEADERS, ) -from utils.explorer import push_trace +from integrations.explorer import push_trace from common.authorization import extract_authorization_from_headers gateway = APIRouter() diff --git a/gateway/routes/gemini.py b/gateway/routes/gemini.py index 6dee3ec..c67f2e5 100644 --- a/gateway/routes/gemini.py +++ b/gateway/routes/gemini.py @@ -12,7 +12,7 @@ from common.constants import ( IGNORED_HEADERS, ) from common.authorization import extract_authorization_from_headers -from utils.explorer import push_trace +from integrations.explorer import push_trace gateway = APIRouter() diff --git a/gateway/routes/open_ai.py b/gateway/routes/open_ai.py index 6688e84..33a4360 100644 --- a/gateway/routes/open_ai.py +++ b/gateway/routes/open_ai.py @@ -11,7 +11,7 @@ from common.constants import ( CLIENT_TIMEOUT, IGNORED_HEADERS, ) -from utils.explorer import push_trace +from integrations.explorer import push_trace from common.authorization import extract_authorization_from_headers gateway = APIRouter()