MCPcopy
hub / github.com/Sophomoresty/gemini-web2api / account_prefix

Function account_prefix

gemini_web2api.py:135–140  ·  view source on GitHub ↗

Return the Gemini account path prefix for non-default Google accounts.

()

Source from the content-addressed store, hash-verified

133
134
135def account_prefix() -> str:
136 """Return the Gemini account path prefix for non-default Google accounts."""
137 auth_user = CONFIG.get("auth_user")
138 if auth_user is None or auth_user == "":
139 return ""
140 return f"/u/{auth_user}"
141
142
143# ─── Gemini Protocol ─────────────────────────────────────────────────────────

Callers 2

gemini_stream_generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected