From a74f356c7c579e32f05700ff4c0150cf0efad348 Mon Sep 17 00:00:00 2001 From: Stef Lewandowski Date: Tue, 29 Oct 2024 21:31:40 +0000 Subject: [PATCH] fix: remove unused text encoder from PatchEnqueuer --- packages/aila/src/core/chat/PatchEnqueuer.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/aila/src/core/chat/PatchEnqueuer.ts b/packages/aila/src/core/chat/PatchEnqueuer.ts index 724e0c789..90c2d3816 100644 --- a/packages/aila/src/core/chat/PatchEnqueuer.ts +++ b/packages/aila/src/core/chat/PatchEnqueuer.ts @@ -5,11 +5,9 @@ import type { JsonPatchDocumentOptional } from "../../protocol/jsonPatchProtocol const log = aiLogger("aila:protocol"); export class PatchEnqueuer { - private encoder: TextEncoder; private controller?: ReadableStreamDefaultController; constructor(controller?: ReadableStreamDefaultController) { - this.encoder = new TextEncoder(); this.controller = controller; }