fix: use x-goog-api-key header instead of URL query parameter for Gemini (#70) - #1
fix: use x-goog-api-key header instead of URL query parameter for Gemini (#70)#1saurabhhhcodes wants to merge 2 commits into
Conversation
…on (Ruthwik000#67) Anthropic's Messages API uses hyphens (claude-opus-4-5), not dots (claude-opus-4.5). The dot-notation IDs in pricingRegistry caused all Claude 4.5 requests to silently cost /bin/zsh. Fixes Ruthwik000#67
…ini (Ruthwik000#70) The Gemini API key was appended to the request URL as a query parameter (key=...), exposing it in network logs, browser history, and error messages. Changed to use the x-goog-api-key HTTP header which is the recommended approach. Fixes Ruthwik000#70
|
Warning Review limit reached
Next review available in: 56 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔔 Friendly ping @saurabhhhcodes — this real fix has passing CI and references an approved GSSoC issue. Ready for review/merge. Thanks! |
1 similar comment
|
🔔 Friendly ping @saurabhhhcodes — this real fix has passing CI and references an approved GSSoC issue. Ready for review/merge. Thanks! |
The Gemini API key was appended to the request URL as a query
parameter (key=...), exposing it in network logs, browser
history, and error messages. Changed to use the x-goog-api-key
HTTP header which is the recommended approach.
Fixes Ruthwik000#70