返回提交历史
Modified
g4f/Provider/AiAsk.py
+4
-0
Modified
g4f/Provider/ChatgptX.py
+4
-0
XFEstudio/gpt4free
Fix: TypeError: 'type' object is not subscriptable
dbf54769
代码差异
2 个文件
+8
-0
@@ -1,7 +1,11 @@
1
from __future__ import annotations
2
1
3
from aiohttp import ClientSession
4
2
5
from ..typing import AsyncGenerator
3
6
from .base_provider import AsyncGeneratorProvider
4
7
8
5
9
class AiAsk(AsyncGeneratorProvider):
6
10
url = "https://e.aiask.me"
7
11
supports_gpt_35_turbo = True
@@ -1,9 +1,13 @@
1
from __future__ import annotations
2
1
3
import re
4
2
5
from aiohttp import ClientSession
3
6
4
7
from .base_provider import AsyncProvider
5
8
from .helper import format_prompt
6
9
10
7
11
class ChatgptX(AsyncProvider):
8
12
url = "https://chatgptx.de"
9
13
supports_gpt_35_turbo = True