This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GeminiClient { | |
| constructor() { | |
| this.s = null; | |
| this.r = 1; | |
| } | |
| async init() { | |
| const res = await fetch('https://gemini.google.com/', { | |
| headers: {'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36'} | |
| }); |