Revert broken finished SSE yield config

Merged
MO
8mo ago
+1-1

Summary

  • revert the Stainless streaming config change that turned the terminal finished event from done into yield
  • restore the pre-#1846 behavior while we replace it with a compatible fix

Testing

  • pnpm --dir /tmp/stagehand-revert-sse.mrKx4n exec prettier --check stainless.yml

Summary by cubic

Reverts the Stainless streaming config so the finished SSE event is handled as done instead of yield. Restores previous behavior and fixes stream completion for clients expecting done.