summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-10-10 09:49:29 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-10-10 09:49:29 +0200
commit53192b86b129380660f7454170fa987faf2da3c5 (patch)
tree5797a34479840692f2ae5db9e63deacac9732bd7 /g4f/Provider/deprecated
parent ~ | g4f `v-0.1.5.7` (diff)
downloadgpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar.gz
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar.bz2
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar.lz
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar.xz
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.tar.zst
gpt4free-53192b86b129380660f7454170fa987faf2da3c5.zip
Diffstat (limited to 'g4f/Provider/deprecated')
-rw-r--r--g4f/Provider/deprecated/AiService.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/deprecated/AiService.py b/g4f/Provider/deprecated/AiService.py
index 9b41e3c8..d1d15859 100644
--- a/g4f/Provider/deprecated/AiService.py
+++ b/g4f/Provider/deprecated/AiService.py
@@ -2,7 +2,7 @@ from __future__ import annotations
import requests
-from ...typing import Any, CreateResult
+from ...typing import Any, CreateResult, Messages
from ..base_provider import BaseProvider
@@ -14,7 +14,7 @@ class AiService(BaseProvider):
@staticmethod
def create_completion(
model: str,
- messages: list[dict[str, str]],
+ messages: Messages,
stream: bool,
**kwargs: Any,
) -> CreateResult: