test(router): complete mocked streaming responses

This commit is contained in:
King Star 2026-09-09 03:04:47 +08:00 • committed by yucheng-berri
parent 72488ab579
commit bdb52437e6

View file

@ -21505,6 +21505,9 @@ _SSE_CHUNKS: Final[tuple[bytes, ...]] = tuple(
b'data: {"id":"c","object":"chat.completion.chunk","created":1,"model":"gpt-5.6",'
b'"choices":[{"index":0,"delta":{"content":"x"},"finish_reason":null}]}\n\n'
for _ in range(5)
) + (
b'data: {"id":"c","object":"chat.completion.chunk","created":1,"model":"gpt-5.6",'
b'"choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}\n\n',
)