Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/cli/config-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ export async function runBunInstall(): Promise<boolean> {
export const ANTIGRAVITY_PROVIDER_CONFIG = {
google: {
name: "Google",
api: "antigravity",
// NOTE: opencode-antigravity-auth expects full model specs (name/limit/modalities).
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the api: "antigravity" field from ANTIGRAVITY_PROVIDER_CONFIG, there's now an inconsistency with CODEX_PROVIDER_CONFIG which still contains api: "codex" at line 408.

If the api field causes authentication issues with the opencode-antigravity-auth plugin, consider whether:

  1. The api: "codex" field might cause similar issues with opencode-openai-codex-auth
  2. If both fields should be removed for consistency, or
  3. If the Codex provider needs this field while Antigravity doesn't (and document why)

Without understanding the different requirements of these two auth plugins, this inconsistency could lead to confusion or similar issues in the future.

Suggested change
// NOTE: opencode-antigravity-auth expects full model specs (name/limit/modalities).
// NOTE: opencode-antigravity-auth expects full model specs (name/limit/modalities).
// It does NOT rely on an `api` field here (unlike opencode-openai-codex-auth,
// which still uses `api: "codex"` in CODEX_PROVIDER_CONFIG). This is why
// ANTIGRAVITY_PROVIDER_CONFIG omits `api` while Codex retains it.

Copilot uses AI. Check for mistakes.
// If these are incomplete, models may appear but fail at runtime (e.g. 404).
models: {
Expand Down