Fix Gemini chat issue. (#4757)
### What problem does this PR solve? #4753 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
44d798d8f0
commit
2aa0cdde8f
1 changed files with 1 additions and 1 deletions
|
|
@ -1375,7 +1375,7 @@ class GoogleChat(Base):
|
||||||
from google.oauth2 import service_account
|
from google.oauth2 import service_account
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
key = json.load(key)
|
key = json.loads(key)
|
||||||
access_token = json.loads(
|
access_token = json.loads(
|
||||||
base64.b64decode(key.get("google_service_account_key", ""))
|
base64.b64decode(key.get("google_service_account_key", ""))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue