summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2024-03-19 12:40:59 +0100
committerabc <98614666+xtekky@users.noreply.github.com>2024-03-19 12:40:59 +0100
commit9a49d068290b6c1de91b62918f638f12d03af99d (patch)
treeb675608c905a5d1944719a304ad63a7747775dc4
parent˜ (diff)
downloadgpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar.gz
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar.bz2
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar.lz
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar.xz
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.tar.zst
gpt4free-9a49d068290b6c1de91b62918f638f12d03af99d.zip
-rw-r--r--g4f/local/__init__.py6
-rw-r--r--g4f/local/_engine.py (renamed from g4f/local/core/engine.py)4
-rw-r--r--g4f/local/_models.py (renamed from g4f/local/core/models.py)0
3 files changed, 5 insertions, 5 deletions
diff --git a/g4f/local/__init__.py b/g4f/local/__init__.py
index cc678dc6..c9d3d74a 100644
--- a/g4f/local/__init__.py
+++ b/g4f/local/__init__.py
@@ -1,8 +1,8 @@
from ..typing import Union, Iterator, Messages
from ..stubs import ChatCompletion, ChatCompletionChunk
-from .core.engine import LocalProvider
-from .core.models import models
-from ..client import iter_response, filter_none, IterResponse
+from ._engine import LocalProvider
+from ._models import models
+from ..client import iter_response, filter_none, IterResponse
class LocalClient():
def __init__(self, **kwargs) -> None:
diff --git a/g4f/local/core/engine.py b/g4f/local/_engine.py
index 920ed9b4..5a701894 100644
--- a/g4f/local/core/engine.py
+++ b/g4f/local/_engine.py
@@ -1,7 +1,7 @@
import os
-from gpt4all import GPT4All
-from .models import models
+from gpt4all import GPT4All
+from ._models import models
class LocalProvider:
@staticmethod
diff --git a/g4f/local/core/models.py b/g4f/local/_models.py
index ec36fe41..ec36fe41 100644
--- a/g4f/local/core/models.py
+++ b/g4f/local/_models.py