Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for cookie loading and file upload.

Functionsยง

cookies_to_map
Returns a simple cookie map suitable for manual reqwest usage.
load_cookies
Loads authentication cookies from a JSON file.
upload_file
Uploads a file to the Gemini upload endpoint and returns the raw response text.