mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 20:49:04 +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:
parent
44d798d8f0
commit
2aa0cdde8f
@ -1375,7 +1375,7 @@ class GoogleChat(Base):
|
||||
from google.oauth2 import service_account
|
||||
import base64
|
||||
|
||||
key = json.load(key)
|
||||
key = json.loads(key)
|
||||
access_token = json.loads(
|
||||
base64.b64decode(key.get("google_service_account_key", ""))
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user