Skip to content

Commit 9b9a66e

Browse files
author
Szymon Cyranik
committed
refactor(imports): reorganize and clarify ILlm imports across llms module
1 parent 6215f58 commit 9b9a66e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mindsql/llms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
from .illm import ILlm
12
from .anthropic import AnthropicAi
23
from .googlegenai import GoogleGenAi
34
from .huggingface import HuggingFace
4-
from .illm import ILlm
55
from .llama import LlamaCpp
66
from .open_ai import OpenAi

mindsql/llms/anthropic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from anthropic import Anthropic
22

3-
from . import ILlm
3+
from .illm import ILlm
44
from .._utils.constants import ANTHROPIC_VALUE_ERROR, PROMPT_EMPTY_EXCEPTION
55

66

mindsql/llms/googlegenai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import google.generativeai as genai
22

33
from .._utils.constants import GOOGLE_GEN_AI_VALUE_ERROR, GOOGLE_GEN_AI_APIKEY_ERROR
4-
from . import ILlm
4+
from .illm import ILlm
55

66

77
class GoogleGenAi(ILlm):

mindsql/llms/open_ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from openai import OpenAI
22

3-
from . import ILlm
3+
from .illm import ILlm
44
from .._utils.constants import OPENAI_VALUE_ERROR, PROMPT_EMPTY_EXCEPTION
55

66

0 commit comments

Comments
 (0)