Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base
remote rate-limiting on api keys
Hugo Richarde4ade5787926
diff --git a/apps/app/server/auth.config.ts b/apps/app/server/auth.config.tsindex 9f1e7d2..0f70d2a 100644--- a/apps/app/server/auth.config.ts+++ b/apps/app/server/auth.config.ts@@ -30,6 +30,9 @@ export default defineServerAuth(({ db }) => {admin(),apiKey({enableSessionForAPIKeys: true,+ rateLimit: {+ enabled: false,+ },customAPIKeyGetter: (ctx) => {const xApiKey = ctx.headers?.get('x-api-key')if (xApiKey) return xApiKey