diff --git a/apps/agent/src/controller-session.ts b/apps/agent/src/controller-session.ts index c1b45b9d..9948d00e 100644 --- a/apps/agent/src/controller-session.ts +++ b/apps/agent/src/controller-session.ts @@ -106,11 +106,6 @@ export const createControllerSession = (ws: WebSocket): ControllerSession => { }); }, onMessage: (data) => { - if (typeof data !== "string") { - logger.warn("Agent received a non-text message"); - return; - } - void Effect.runPromise(offerInbound(data as ControllerWireMessage)).catch((error) => { logger.error(`Failed to queue inbound message: ${toMessage(error)}`); });