475 B
475 B
markup, title, description, import
| markup | title | description | import | ||||
|---|---|---|---|---|---|---|---|
| occlusion | llm stream_result offline | No network — SSE fixture via net.openai_sse_parse + llm.stream_result |
|
main
fixture = "data: {"choices":[{"delta":{"content":"Hi"}}]}\n\ndata: {"choices":[{"delta":{"content":"!"}}]}\n\ndata: [DONE]\n"
events = > net.openai_sse_parse text=fixture
answer = > llm.stream_result events=events
print text=
answer