Even if the cookie parameter is passed, it will still be read from the browser #84

Closed
opened 2026-02-13 17:27:48 -06:00 by mirrors · 3 comments
Owner

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.

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.
mirrors 2026-02-13 17:27:48 -06:00
Author
Owner

@yeucodonvn commented on GitHub (Sep 8, 2025):

me too, i had to remove it because i use chromium it doesnt recognize it

@yeucodonvn commented on GitHub (Sep 8, 2025): me too, i had to remove it because i use chromium it doesnt recognize it
Author
Owner

@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.

@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.
Author
Owner

@HanaokaYuzu commented on GitHub (Oct 15, 2025):

Fixed in v1.16.0

@HanaokaYuzu commented on GitHub (Oct 15, 2025): Fixed in v1.16.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mirrors/Gemini-API#84
No description provided.