Fix: TypeError: 'type' object is not subscriptable

This commit is contained in:
hs_junxiang 2023-10-06 15:50:16 +08:00
parent 2d2cfcd894
commit dbf54769e0
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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