From 82bd6f91808a383781807262c4ae1f3de9740531 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Wed, 20 Sep 2023 06:12:34 +0200 Subject: Cache "snlm0e" in Bard Improve error handling in ChatgptLogin Fix async example in readme --- g4f/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index 9b01fa3c..1066e1aa 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -14,7 +14,7 @@ from .Provider import ( H2o ) -@dataclass +@dataclass(unsafe_hash=True) class Model: name: str base_provider: str -- cgit v1.2.3