Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Feb 22, 2023
1 parent bd08882 commit 391228e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Event.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def load_response(self,
return PublicReturn(status=True, trace="Req", reply=log)

# Api Key 检查
if not OPENAI_API_KEY_MANAGER.get_key():
if not self.api_key:
logger.error("Api Check:Api Key pool empty")
raise LoadResponseError("Found:Api Key pool empty")

Expand Down

0 comments on commit 391228e

Please sign in to comment.