MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / GeminiAuthCheck

Struct GeminiAuthCheck

internal/doctor/checks.go:197–199  ·  view source on GitHub ↗

GeminiAuthCheck reports whether Gemini or Vertex AI credentials are configured. Env defaults to os.Getenv but tests may override it.

Source from the content-addressed store, hash-verified

195// GeminiAuthCheck reports whether Gemini or Vertex AI credentials are
196// configured. Env defaults to os.Getenv but tests may override it.
197type GeminiAuthCheck struct {
198 Env func(string) string
199}
200
201func (c GeminiAuthCheck) Name() string { return "Gemini / Vertex Authentication Check" }
202func (c GeminiAuthCheck) Run(_ context.Context, r Reporter) Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected