MCPcopy Create free account
hub / github.com/Microck/opencode-studio / getGeminiClientId

Function getGeminiClientId

server/index.js:4218–4223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4216const GEMINI_CLIENT_SECRET = process.env.GEMINI_CLIENT_SECRET || "";
4217
4218function getGeminiClientId() {
4219 if (GEMINI_CLIENT_ID) return GEMINI_CLIENT_ID;
4220 const opencodeCfg = loadConfig();
4221 const oauth = opencodeCfg?.mcp?.google?.oauth;
4222 return oauth?.clientId || "";
4223}
4224
4225const GEMINI_SCOPES = [
4226 "https://www.googleapis.com/auth/cloud-platform",

Callers 1

index.jsFile · 0.85

Calls 1

loadConfigFunction · 0.85

Tested by

no test coverage detected