YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: raise transcription daily cost cap for subscribed users to $500
Louis Beaumont2f67a1041b9c
diff --git a/packages/ai-gateway/src/index.ts b/packages/ai-gateway/src/index.tsindex 3cf890179..67e0560a4 100644--- a/packages/ai-gateway/src/index.ts+++ b/packages/ai-gateway/src/index.ts@@ -235,7 +235,7 @@ async function handleRequest(request: Request, env: Env, ctx: ExecutionContext):// 2x safety margin: free=$10/day, subscribed=$50/dayconst dailyCost = await getDailyUserCost(env, authResult.deviceId);const baseCap = getMaxDailyCostPerUser(env);- const maxCost = authResult.tier === 'subscribed' ? baseCap * 10 : baseCap * 2;+ const maxCost = authResult.tier === 'subscribed' ? baseCap * 100 : baseCap * 2;if (dailyCost >= maxCost) {return addCorsHeaders(createErrorResponse(429, JSON.stringify({error: 'daily_cost_limit_exceeded',