summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-12 22:44:56 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-12 22:44:56 +0200
commita053c29020f7a818c6cab40e4e3659291915b630 (patch)
tree5bc3ab35c8dcb950d89df4e02889120db07cfd12 /g4f
parentUpdate integration.py (diff)
downloadgpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar.gz
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar.bz2
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar.lz
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar.xz
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.tar.zst
gpt4free-a053c29020f7a818c6cab40e4e3659291915b630.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/Local.py b/g4f/Provider/Local.py
index c08064b9..471231c6 100644
--- a/g4f/Provider/Local.py
+++ b/g4f/Provider/Local.py
@@ -4,7 +4,7 @@ from ..locals.models import get_models
try:
from ..locals.provider import LocalProvider
has_requirements = True
-except ModuleNotFoundError:
+except ImportError:
has_requirements = False
from ..typing import Messages, CreateResult
@@ -12,7 +12,7 @@ from ..providers.base_provider import AbstractProvider, ProviderModelMixin
from ..errors import MissingRequirementsError
class Local(AbstractProvider, ProviderModelMixin):
- label = "gpt4all"
+ label = "GPT4All"
working = True
supports_message_history = True
supports_system_message = True