返回 CodeWhale
openai_chat_truncated.golden.jsonl
根目录 / crates / tui / tests / fixtures / conformance / sse / openai_chat_truncated.golden.jsonl
1 {"request":[{"method":"POST","path":"/v1/chat/completions"}]}
2 {"type":"message_start","message":{"id":"","type":"message","role":"assistant","content":[],"model":"gpt-4.1","stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":0,"output_tokens":0}}}
3 {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
4 {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello"}}
5 {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" wor"}}
6 {"type":"content_block_stop","index":0}
7 {"type":"stream_failure","detail":"Chat Completions stream closed before [DONE] or finish_reason"}
8
8 lines Plain Text