Skip to content

Commit

Permalink
fix: remove unused text encoder from PatchEnqueuer
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Oct 29, 2024
1 parent c332717 commit a74f356
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/aila/src/core/chat/PatchEnqueuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a74f356

Please sign in to comment.