Skip to content

Optimize Streaming Response Handling#281

Draft
shroominic wants to merge 1 commit intomainfrom
optimize-streaming-port
Draft

Optimize Streaming Response Handling#281
shroominic wants to merge 1 commit intomainfrom
optimize-streaming-port

Conversation

@shroominic
Copy link
Copy Markdown
Contributor

Ports the streaming optimization and X-Cashu refactoring from commit d8a81fb (originally in PR #269).

Changes:

  • Implements tail buffering for streaming responses to optimize usage extraction.
  • Refactors X-Cashu handlers to buffer streaming responses, allowing refund headers to be calculated and sent before the body stream begins.
  • Adds helper method.

Base automatically changed from v0.2.2 to main January 15, 2026 03:23
@shroominic shroominic marked this pull request as draft January 23, 2026 05:34
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