Skip to content

Commit 9b34f81

Browse files
committed
fix(copilot): remove orphan encoder assignment in StreamWriter
1 parent f10d91b commit 9b34f81

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • apps/sim/lib/copilot/request/session

apps/sim/lib/copilot/request/session/writer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export class StreamWriter {
4444
this.keepaliveMs = options.keepaliveMs ?? DEFAULT_KEEPALIVE_MS
4545
this.flushIntervalMs = DEFAULT_PERSIST_FLUSH_INTERVAL_MS
4646
this.flushMaxBatch = DEFAULT_PERSIST_FLUSH_MAX_BATCH
47-
this.encoder = new TextEncoder()
4847
}
4948

5049
get clientDisconnected(): boolean {

0 commit comments

Comments
 (0)