Gemini API key is ignored in favor of my subscription

Open
#974 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
swift
Domain
ai

Research direction

Start by tracing how Yab selects Gemini authentication for AI models configured in Settings > AI > Models, then inspect the recent changes around subscription and API key handling. Reproduce the reported behavior with both a Gemini subscription and a configured API key. Done means Yab uses the configured API key as expected; the issue does not name files or tests, so locate the relevant code and regression coverage first.

Written by the indexing model from the issue text.

Description

bug needs triage
Yab version

0.49.0 (202611171848)

Device

Mac, Apple silicon

macOS or iOS version

27.2

Engine of the tab

Not about a page

Area

AI and chats

Steps to reproduce

With my Gemini API key configured in Settings > AI > Models, use Gemini. Yab uses my Gemini subscription instead of the API key, so I can no longer use the API key.

What you expected

Yab uses my Gemini API key, as it did before.

What happened instead

Yab uses my Gemini subscription instead of the API key, so I can't use the API key anymore.

How often

Every time

Your setup (optional)

I have a Gemini subscription and previously used a Gemini API key in Yab.

Did it work before? (optional)

Yes, in an earlier version

Dominant language
Swift
Stars
648
Forks
56
Avg merge
21h 14m
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yetanotherbrowser/yab

All issues in yetanotherbrowser/yab

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.