Skip to content

Route streamed LLM events to target windows instead of broadcasting - #37

Open
Ayushpal2006 wants to merge 1 commit into
TechyCSR:mainfrom
Ayushpal2006:fix/target-streaming-ipc
Open

Route streamed LLM events to target windows instead of broadcasting#37
Ayushpal2006 wants to merge 1 commit into
TechyCSR:mainfrom
Ayushpal2006:fix/target-streaming-ipc

Conversation

@Ayushpal2006

Copy link
Copy Markdown

Summary

This PR optimizes streamed LLM IPC routing.

Changes

  • Route streamed LLM events through targeted window delivery instead of broadcasting to every Electron window.
  • Add a reusable sendToWindow() helper to WindowManager.
  • Reduce logging overhead for high-frequency *-chunk streaming events.

Benefits

  • Less unnecessary IPC traffic.
  • Reduced renderer work for hidden windows.
  • Lower logging overhead during streamed responses.
  • Preserves existing response behavior while making event routing more efficient.

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

@Ayushpal2006 is attempting to deploy a commit to the csrsoftwares' projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant