mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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:
@ -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", ""))
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user