summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated/Aivvm.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-14 15:36:47 +0200
committerGitHub <noreply@github.com>2023-10-14 15:36:47 +0200
commit8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5 (patch)
tree5f205c79c060098f056a9e1460b872696de5871c /g4f/Provider/deprecated/Aivvm.py
parentMerge branch 'main' of https://github.com/xtekky/gpt4free (diff)
parentFix Opchatgpts and ChatForAi Provider (diff)
downloadgpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar.gz
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar.bz2
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar.lz
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar.xz
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.tar.zst
gpt4free-8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/deprecated/Aivvm.py (renamed from g4f/Provider/Aivvm.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/Aivvm.py b/g4f/Provider/deprecated/Aivvm.py
index 214eb638..12fd387d 100644
--- a/g4f/Provider/Aivvm.py
+++ b/g4f/Provider/deprecated/Aivvm.py
@@ -1,8 +1,8 @@
from __future__ import annotations
import requests
-from .base_provider import BaseProvider
-from ..typing import CreateResult
+from ..base_provider import BaseProvider
+from ...typing import CreateResult, Messages
from json import dumps
# to recreate this easily, send a post request to https://chat.aivvm.com/api/models
@@ -27,7 +27,7 @@ class Aivvm(BaseProvider):
@classmethod
def create_completion(cls,
model: str,
- messages: list[dict[str, str]],
+ messages: Messages,
stream: bool,
**kwargs
) -> CreateResult: