Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Sophomoresty/gemini-web2api
/ log
Function
log
gemini_web2api/gemini.py:25–29 ·
view source on GitHub ↗
(msg: str)
Source
from the content-addressed store, hash-verified
23
24
25
def
log(msg: str):
26
if
CONFIG[
"log_requests"
]:
27
import
sys
28
sys.stderr.write(f
"[{time.strftime('%H:%M:%S')}] {msg}\n"
)
29
sys.stderr.flush()
30
31
32
def
_get_ssl_ctx():
Callers
11
load_cookie
Function · 0.70
generate
Function · 0.70
generate_stream
Function · 0.70
_get_page_tokens
Function · 0.70
upload_image
Function · 0.70
fetch_image_bytes
Function · 0.70
resolve_model
Function · 0.70
_upload_images
Function · 0.70
log_message
Method · 0.70
do_POST
Method · 0.70
_handle_google_generate
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected