Skip to content
Open
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
13 changes: 13 additions & 0 deletions request-logger/agents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ describe("listAgents", () => {
"pi",
"omp",
"gemini",
"antigravity",
"junie",
"cursor",
"amp",
Expand Down Expand Up @@ -490,6 +491,18 @@ describe("resolveChoice — commands", () => {
);
});

it("uses the CLOUD_CODE_URL variable for an Antigravity Google login", () => {
expect(target("antigravity", "google-login").command).toBe(
"CLOUD_CODE_URL=http://localhost:8787 agy"
);
});

it("uses the GOOGLE_GEMINI_BASE_URL variable for an Antigravity API key", () => {
expect(target("antigravity", "api-key").command).toBe(
"GOOGLE_GEMINI_BASE_URL=http://localhost:8787 agy"
);
});

it("gives Pi a bare command, because Pi has no base URL variable", () => {
expect(target("pi", "anthropic").command).toBe("pi");
});
Expand Down