diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-06 12:19:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 12:19:45 +0200 |
commit | 3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3 (patch) | |
tree | ec5f47b50c7d63c9bf0c141093c0a51aa98121c1 /g4f | |
parent | ~ (diff) | |
parent | Fix: TypeError: 'type' object is not subscriptable (diff) | |
download | gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.gz gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.bz2 gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.lz gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.xz gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.tar.zst gpt4free-3fa6d9f914c750ec2ca28481583d0c5e5c5e9fb3.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/AiAsk.py | 4 | ||||
-rw-r--r-- | g4f/Provider/ChatgptX.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/g4f/Provider/AiAsk.py b/g4f/Provider/AiAsk.py index 906b5575..0a44af3e 100644 --- a/g4f/Provider/AiAsk.py +++ b/g4f/Provider/AiAsk.py @@ -1,7 +1,11 @@ +from __future__ import annotations + from aiohttp import ClientSession + from ..typing import AsyncGenerator from .base_provider import AsyncGeneratorProvider + class AiAsk(AsyncGeneratorProvider): url = "https://e.aiask.me" supports_gpt_35_turbo = True diff --git a/g4f/Provider/ChatgptX.py b/g4f/Provider/ChatgptX.py index eb62ddc9..2d932af2 100644 --- a/g4f/Provider/ChatgptX.py +++ b/g4f/Provider/ChatgptX.py @@ -1,9 +1,13 @@ +from __future__ import annotations + import re + from aiohttp import ClientSession from .base_provider import AsyncProvider from .helper import format_prompt + class ChatgptX(AsyncProvider): url = "https://chatgptx.de" supports_gpt_35_turbo = True |