revert: harden Hermes stream recovery around tool-call boundaries (#189) (#192)

Reverts #189 due to reported bugs.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-24 22:18:32 +08:00
committed by GitHub
parent bff6f844e6
commit 70ed0e0dc2
6 changed files with 114 additions and 496 deletions
+1 -3
View File
@@ -72,9 +72,7 @@ export function streamRunEvents(
onDone()
}
} catch {
// Some SSE adapters may deliver raw text frames. Treat them as
// assistant deltas so they render instead of being silently ignored.
onEvent({ event: 'message.delta', delta: e.data })
onEvent({ event: 'message', delta: e.data })
}
}