mirror of
https://github.com/HanaokaYuzu/Gemini-API.git
synced 2026-04-12 12:23:03 -06:00
Even if the cookie parameter is passed, it will still be read from the browser #84
Labels
No labels
advanced
advanced
bug
dependencies
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
model
pull-request
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mirrors/Gemini-API#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @infstellar on GitHub (Sep 4, 2025).
Since I have two users, even if I initialize the GeminiClient with the cookie of User B, it will still get the cookie from the browser logged in as User A.
This problem was resolved after I uninstalled browser-cookie3. It doesn't seem to be a major issue.
@yeucodonvn commented on GitHub (Sep 8, 2025):
me too, i had to remove it because i use chromium it doesnt recognize it
@infstellar commented on GitHub (Sep 9, 2025):
This seems to be because when calling
await self.client.init, the cookies are fetched again and the previously passed-in cookies are not used.@HanaokaYuzu commented on GitHub (Oct 15, 2025):
Fixed in v1.16.0