feat(gemini-web): Add support for custom auth labels

This commit is contained in:
hkfires
2025-09-29 23:48:37 +08:00
parent d33a89b89f
commit 8858e07d8b
2 changed files with 7 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ func (e *GeminiWebExecutor) stateFor(auth *cliproxyauth.Auth) (*geminiwebapi.Gem
storagePath = p
}
}
state := geminiwebapi.NewGeminiWebState(cfg, ts, storagePath)
state := geminiwebapi.NewGeminiWebState(cfg, ts, storagePath, auth.Label)
runtime := &geminiWebRuntime{state: state}
auth.Runtime = runtime
return state, nil