Skip to content

Commit

Permalink
修改key_for_gpts_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyutin753 authored Feb 19, 2024
1 parent 6203fb3 commit 33fb486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def xyhelperGetAccessToken(getAccessTokenUrl, refresh_token):

def updateGptsKey():
global KEY_FOR_GPTS_INFO
golbal KEY_FOR_GPTS_INFO_ACCESS_TOKEN
global KEY_FOR_GPTS_INFO_ACCESS_TOKEN
if not KEY_FOR_GPTS_INFO == '' and not KEY_FOR_GPTS_INFO.startswith("eyJhb"):
if REFRESH_TOACCESS_ENABLEOAI:
access_token = oaiGetAccessToken(KEY_FOR_GPTS_INFO)
Expand Down

0 comments on commit 33fb486

Please sign in to comment.