Re:Show HN: LangAlpha – what if Claude Code was built for Wa...
by eitanlebras on Wednesday April 15, 2026 @07:53AM
(#47777843)
The middleware being adapted from LangChain DeepAgents is interesting... there's a known issue with LangChain's summarization middleware where model.invoke calls during compression leak into the SSE stream as visible assistant turns rather than staying internal. Curious if you hit that and how you handled it, since you're streaming everything over SSE anyway?
[ Parent
| on HN ]
Re:Show HN: LangAlpha – what if Claude Code was built for Wa...
by zc2610 on Wednesday April 15, 2026 @01:01PM
(#47781918)
we encountered that issue and fixed it + a separate sse event type to signal start/end of summarization for ui/ux.
we also build a lot on top of it like more accurate token estimation, customized offloading mechanism etc.
Re:Show HN: LangAlpha – what if Claude Code was built for Wa...
by eitanlebras on Thursday April 16, 2026 @12:07AM
(#47788546)
Oh nice, that separate SSE event seems like a big improvement for UX.