Skip to content

fix(scaletest/llmmock): emit Anthropic SSE event lines#23587

Open
ethanndickson wants to merge 1 commit intomainfrom
llmmock-jsva
Open

fix(scaletest/llmmock): emit Anthropic SSE event lines#23587
ethanndickson wants to merge 1 commit intomainfrom
llmmock-jsva

Conversation

@ethanndickson
Copy link
Member

The llmmock Anthropic stream wrote each chunk as data: only, so Anthropic clients never saw the named SSE events they dispatch on and Claude responses arrived empty even though the stream completed with HTTP 200.

Update sendAnthropicStream() to emit event: <type> and data: <json> for each Anthropic chunk while leaving the OpenAI-style streams unchanged.

@ethanndickson ethanndickson requested a review from SasSwart March 25, 2026 14:08
@ethanndickson ethanndickson marked this pull request as ready for review March 25, 2026 14:08
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