Merge pull request #63 from router-for-me/gemini-web

Gemini-web
This commit is contained in:
Luis Pater
2025-09-25 11:53:22 +08:00
committed by GitHub
8 changed files with 73 additions and 112 deletions

View File

@@ -714,6 +714,8 @@ func (h *Handler) CreateGeminiWebToken(c *gin.Context) {
Secure1PSID: payload.Secure1PSID,
Secure1PSIDTS: payload.Secure1PSIDTS,
}
// Provide a stable label (gemini-web-<hash>) for logging and identification
tokenStorage.Label = strings.TrimSuffix(fileName, ".json")
record := &sdkAuth.TokenRecord{
Provider: "gemini-web",