You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
The response text is a empty URL, which cannot be seen. {'metadata': ['c_cd648c1c943cb00f', 'r_f093111e78855c35'], 'candidates': {'rcid': 'rc_97ec8a9d7ddbed62', 'text': 'http://googleusercontent.com/card_content/0', 'web_images': [], 'generated_images': []}} #14
Describe the bug
The response text is returned in a URL format that cannot be seen.
Version
OS: Windows 11
Python: 3.12.2
Gemini API: 1.0.4
Using proxy: No
Region: Poland
Code
fromgeminiimportGeminicookies= {
"__Secure-1PSID" : "fullfilled",
"__Secure-1PSIDTS" : "fullfilled",
"__Secure-1PSIDCC" : "fullfilled", # I use this because in BardCookies it works"NID" : "fullfilled",
}
GeminiClient=Gemini(cookies=cookies)
prompt="Hello, Gemini. What's the weather like in Seoul today?"response=GeminiClient.generate_content(prompt)
print(response)