mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
The OpenAI endpoints (/api/realtime/token, /api/openai/hud-summary) now allow 30 requests per minute per client IP and the Google Places endpoints 120, the caps the Pinokio build already ships. GEV_RATELIMIT_OPENAI_PER_MIN and GEV_RATELIMIT_GOOGLE_PER_MIN still override them and exactly 0 disables them; an unreadable value falls back to the default rather than to unlimited. Salvaged from #683 onto current main. Co-authored-by: Sameh Khamis <[email protected]> Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
14 lines
434 B
JavaScript
14 lines
434 B
JavaScript
/** Place-search and route middleware for Node development servers. */
|
|
export { googlePlacesContextProxy } from './places/google.js';
|
|
export {
|
|
googleServerApiKey,
|
|
keylessGooglePlacesResponse,
|
|
} from './places/google-key.js';
|
|
export { installRouteMiddleware } from './places/routes.js';
|
|
export {
|
|
makeRateLimiter,
|
|
makeCostRateLimiter,
|
|
clientKey,
|
|
} from './common/rate-limit.js';
|
|
export { haversineKm } from './common/geo.js';
|