summaryrefslogtreecommitdiffstats
path: root/g4f/local
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/local/__init__.py2
-rw-r--r--g4f/locals/models.py1
-rw-r--r--g4f/locals/provider.py2
3 files changed, 5 insertions, 0 deletions
diff --git a/g4f/local/__init__.py b/g4f/local/__init__.py
index d13c8c1d..117cd48d 100644
--- a/g4f/local/__init__.py
+++ b/g4f/local/__init__.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
from ..typing import Union, Messages
from ..locals.provider import LocalProvider
from ..locals.models import get_models
diff --git a/g4f/locals/models.py b/g4f/locals/models.py
index 85777ef2..f82f5448 100644
--- a/g4f/locals/models.py
+++ b/g4f/locals/models.py
@@ -1,3 +1,4 @@
+from __future__ import annotations
import os
import requests
diff --git a/g4f/locals/provider.py b/g4f/locals/provider.py
index 09dfd4fe..45041539 100644
--- a/g4f/locals/provider.py
+++ b/g4f/locals/provider.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
import os
from gpt4all import GPT4All