Repository navigation
fix(google-agy): group database credential entries by model family - #323
Merged
slkiser merged 4 commits intoOct 14, 2026
Merged
Conversation
Format credential display names with model family labels for grouped quota entries. Assisted-by: Gemini 3.8 Flash
Incorporate model family label into group header for database credential rows. Assisted-by: Gemini 3.8 Flash
Base entry name on group to preserve model family in TUI compact line. Harden helper with trimming and empty family guard. Assisted-by: Gemini 3.8 Flash
…rtion Assisted-by: Gemini 3.8 Flash
anthonyhaussman
marked this pull request as ready for review
October 13, 2026 19:55
slkiser
added a commit
that referenced
this pull request
Oct 15, 2026
Takes main's AGY reference copy (opencode-agy-auth 1.3.5-alpha.1) and the refreshed models.dev price list. Keeps v6's side for the Zen member budgets (#322), the Google AGY family grouping (#323: v6 already gives each model family its own row), the Ollama balance API and the AGY User-Agent; those are ported onto v6 in the next commits. Drops the v5 test files v6 had removed. The quota-status pricing tests now date their downloaded price list now, so the newer shipped list does not replace it.
slkiser
added a commit
that referenced
this pull request
Oct 15, 2026
…el families The User-Agent matches the companion's AGY_CLI_VERSION in the tracked opencode-agy-auth 1.3.5-alpha.1. A new test pins that one database login with Gemini and Claude/GPT buckets gives four rows with their own ids and labels (the v5 grouping bug of #323 does not exist in v6). Port of c4192a7's User-Agent change from main.
4 of 5 tasks
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Google AGY Quota Grouping
Format database credential entries with dedicated model family groups for Gemini and Claude/GPT models.
Prevent multiple model families from collapsing into a single connection header with duplicate Weekly and 5h window rows.
Entry Name and Group Alignment
Align entry names with formatted model family groups inside brackets.
Ensure compact TUI status line parsers extract distinct provider family segments rather than collapsing different families into duplicate windows.
Linked Issue
Refs regression in v5 when showing Google AGY database credentials with multiple model families.
OpenCode Validation
~/.local/share/opencode/opencode.dband verifies quota rendering across CLI and TUI surfaces.Before-and-after evidence
Does this change affect visible UI or human-readable output? If yes, attach matching before-and-after screenshots for each affected surface, using the same configuration, model/provider, theme, and window size.
For quota changes, report the result for Web output, TUI sidebar, toast, and the compact line below the message input. Identify unchanged or untested surfaces explicitly. Include the prompt bar or command dialog when relevant.
Redact credentials, account identifiers, private paths, and other sensitive information. For text-formatting changes, include the relevant text output as well as screenshots.
Formatter tests do not count as screenshot evidence.
If a surface could not be tested, identify it and explain why. If there is no visible effect, write
Not applicableand explain briefly.Before:
After:
Surface checks:
opencode-quota show: Verified separated family sections and window rows.Google AGY: GeminiandGoogle AGY: Claude/GPTentries.Quality Checklist
pnpm verify