mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
* fix(quota): bypass quota for users with Bedrock credentials The hasOwnApiKey check only looked for x-ai-api-key header, but Bedrock users provide AWS credentials via x-aws-access-key-id instead. This caused Bedrock users with their own credentials to still be subject to quota limits. * fix(quota): also bypass quota for Vertex AI users * style: auto-format with Biome --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>