diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-14 15:36:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-14 15:36:47 +0200 |
commit | 8bdbb9e9cda7901c3bfc23de2f9f44b3f2e3d1e5 (patch) | |
tree | 5f205c79c060098f056a9e1460b872696de5871c /g4f/Provider/deprecated/Aivvm.py | |
parent | Merge branch 'main' of https://github.com/xtekky/gpt4free (diff) | |
parent | Fix Opchatgpts and ChatForAi Provider (diff) | |
download | gpt4free-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: |