diff --git a/packages/coding-agent/src/core/gateway-runtime.ts b/packages/coding-agent/src/core/gateway-runtime.ts index bc23458f..570942b1 100644 --- a/packages/coding-agent/src/core/gateway-runtime.ts +++ b/packages/coding-agent/src/core/gateway-runtime.ts @@ -5,6 +5,7 @@ import type { ImageContent } from "@mariozechner/pi-ai"; import type { AgentMessage } from "@mariozechner/pi-agent-core"; import type { AgentSession, AgentSessionEvent } from "./agent-session.js"; import { SessionManager } from "./session-manager.js"; +import type { Settings } from "./settings-manager.js"; import { createVercelStreamListener, errorVercelStream, @@ -939,7 +940,7 @@ export class GatewayRuntime { private async handlePatchConfig(patch: Record): Promise { // Apply overrides on top of current settings (in-memory only for daemon use) - this.primarySession.settingsManager.applyOverrides(patch as import("./settings-manager.js").Settings); + this.primarySession.settingsManager.applyOverrides(patch as Settings); } private handleGetChannelsStatus(): ChannelStatus[] {