Skip to content

Commit

Permalink
Revert "更新edgeGPT的方式和依赖版本 (#1041)" (#1044)
Browse files Browse the repository at this point in the history
This reverts commit 4124979.
  • Loading branch information
Haibersut authored Jul 12, 2023
1 parent 4124979 commit 63f7111
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions adapter/ms/bing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

from constants import config
from adapter.botservice import BotAdapter
from EdgeGPT.EdgeGPT import Chatbot as EdgeChatbot, ConversationStyle, NotAllowedToAccess
from EdgeGPT import Chatbot as EdgeChatbot, ConversationStyle, NotAllowedToAccess
from contextlib import suppress

from constants import botManager
from drawing import DrawingAPI
from exceptions import BotOperationNotSupportedException
from loguru import logger
from EdgeGPT.ImageGen import ImageGenAsync
from ImageGen import ImageGenAsync
from graia.ariadne.message.element import Image as GraiaImage

image_pattern = r"!\[.*\]\((.*)\)"
Expand Down
2 changes: 1 addition & 1 deletion conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import List, Dict, Optional

import httpx
from EdgeGPT.EdgeGPT import ConversationStyle
from EdgeGPT import ConversationStyle
from graia.amnesia.message import MessageChain
from graia.ariadne.message.element import Image as GraiaImage, Element
from loguru import logger
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pygments~=2.15.1
imgkit~=1.2.3
qrcode~=7.4.2
openai~=0.27.8
EdgeGPT==0.12.1
EdgeGPT==0.8.2
aiohttp~=3.8.4
OpenAIAuth
urllib3~=1.26.15
Expand Down

0 comments on commit 63f7111

Please sign in to comment.