Skip to content

Commit

Permalink
fix; client updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero6992 committed Jul 22, 2024
1 parent 6290d6b commit 46820c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from g4f.client import Client
from g4f.stubs import ChatCompletion
from g4f.Provider import RetryProvider, OpenaiChat, Aichatos, Liaobots # gpt-4
from g4f.Provider import DuckDuckGo, Ecosia # gpt-3.5-turbo
from g4f.Provider import Blackbox # gpt-3.5-turbo

from openai import AsyncOpenAI

Expand All @@ -29,7 +29,7 @@ def __init__(self) -> None:
super().__init__(intents=intents)
self.tree = app_commands.CommandTree(self)
self.chatBot = Client(
provider = RetryProvider([OpenaiChat, Aichatos, DuckDuckGo, Ecosia, Liaobots], shuffle=False),
provider = RetryProvider([OpenaiChat, Aichatos, Blackbox, Liaobots], shuffle=False),
)
self.chatModel = os.getenv("MODEL")
self.conversation_history = []
Expand Down

0 comments on commit 46820c8

Please sign in to comment.