Skip to content

Commit 241bf69

Browse files
committed
Document Redis cooldown env vars in config.js
1 parent 0a46989 commit 241bf69

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ export const GEMINI_FALLBACK_MODELS = (process.env.GEMINI_FALLBACK_MODELS || "ge
117117
// "Gemini" page, created as a sibling of the "Claude" root page.
118118
export const GEMINI_NOTION_ROOT_PAGE_ID = process.env.GEMINI_NOTION_ROOT_PAGE_ID || "3a845572-b580-81d0-8653-f64596e45e58";
119119

120+
// Redis-backed per-model rate-limit cooldown for the Gemini connector (see
121+
// connectors/gemini/cooldown.js), provisioned via the Vercel Marketplace
122+
// Upstash integration ("vercel install upstash", or the Vercel dashboard).
123+
// Not read as a named export here -- @upstash/redis's Redis.fromEnv() reads
124+
// UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN directly. Listed here
125+
// only so they're discoverable alongside every other service's env vars.
126+
// If unset, cooldown.js fails open (no cross-call rate-limit memory, but
127+
// never breaks a real Gemini call) -- safe to leave unset until the
128+
// Marketplace integration is activated.
129+
120130
export const MCP_SHARED_KEY = process.env.MCP_SHARED_KEY;
121131

122132
// IP allowlist for /mcp, /mcp/:key, and /. Restricts inbound requests to

0 commit comments

Comments
 (0)