diff --git a/CHANGELOG.md b/CHANGELOG.md index 02b5a5d4f..497d49686 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Auto-reply: require slash for control commands to avoid false triggers in normal text. - Auto-reply: treat steer during compaction as a follow-up, queued until compaction completes. - Auth: lock auth profile refreshes to avoid multi-instance OAuth logouts; keep credentials on refresh failure. +- Gateway/CLI: stop forcing localhost URL in remote mode so remote gateway config works. Thanks @oswalpalash for PR #293. - Onboarding: prompt immediately for OpenAI Codex redirect URL on remote/headless logins. - Configure: add OpenAI Codex (ChatGPT OAuth) auth choice (align with onboarding). - Doctor: suggest adding the workspace memory system when missing (opt-out via `--no-workspace-suggestions`). diff --git a/src/agents/tools/gateway.test.ts b/src/agents/tools/gateway.test.ts index 81c5f3e78..7827a7947 100644 --- a/src/agents/tools/gateway.test.ts +++ b/src/agents/tools/gateway.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vitest"; import { callGatewayTool, resolveGatewayOptions } from "./gateway.js"; @@ -8,6 +8,10 @@ vi.mock("../../gateway/call.js", () => ({ })); describe("gateway tool defaults", () => { + beforeEach(() => { + callGatewayMock.mockReset(); + }); + it("leaves url undefined so callGateway can use config", () => { const opts = resolveGatewayOptions(); expect(opts.url).toBeUndefined();