mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 08:03:39 +00:00
commit
ef3ea5ec79
1 changed files with 1 additions and 1 deletions
|
|
@ -102,6 +102,7 @@ export async function runDaemonMode(session: AgentSession, options: DaemonModeOp
|
|||
console.error(`[pi-gateway] ${message}`);
|
||||
},
|
||||
});
|
||||
setActiveGatewayRuntime(gateway);
|
||||
|
||||
const shutdown = async (reason: "signal" | "extension"): Promise<void> => {
|
||||
if (isShuttingDown) return;
|
||||
|
|
@ -169,7 +170,6 @@ export async function runDaemonMode(session: AgentSession, options: DaemonModeOp
|
|||
}
|
||||
|
||||
await gateway.start();
|
||||
setActiveGatewayRuntime(gateway);
|
||||
console.error(
|
||||
`[pi-gateway] startup complete (session=${session.sessionId ?? "unknown"}, bind=${gatewayBind}, port=${gatewayPort})`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue