fix(lint): sort imports in Google provider files
Move relative imports before TYPE_CHECKING block to satisfy ruff I001.
This commit is contained in:
+2
-2
@@ -8,11 +8,11 @@ Uses the google-generativeai SDK for text embeddings.
|
||||
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from ..exceptions import ProviderError, ProviderNotInstalled
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from graphiti_config import GraphitiConfig
|
||||
|
||||
from ..exceptions import ProviderError, ProviderNotInstalled
|
||||
|
||||
|
||||
# Default embedding model for Google
|
||||
DEFAULT_GOOGLE_EMBEDDING_MODEL = "text-embedding-004"
|
||||
|
||||
@@ -8,11 +8,11 @@ Uses the google-generativeai SDK.
|
||||
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from ..exceptions import ProviderError, ProviderNotInstalled
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from graphiti_config import GraphitiConfig
|
||||
|
||||
from ..exceptions import ProviderError, ProviderNotInstalled
|
||||
|
||||
|
||||
# Default model for Google LLM
|
||||
DEFAULT_GOOGLE_LLM_MODEL = "gemini-2.0-flash"
|
||||
|
||||
Reference in New Issue
Block a user