Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "更新edgeGPT" #1044

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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