---
id: ML-147
title: Upgrade to ServerSentEvents 1.0
status: Done
assignee: []
created_date: "2026-04-25 21:26"
updated_date: "2026-04-27 21:02"
labels: []
dependencies: []
priority: medium
ordinal: 2000
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->

Allows potential drastic simplification of `OpenAI.API.chat_stream/6` following [this example](https://github.com/benjreinhart/server_sent_events#real-world-example-using-req).

<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria

<!-- AC:BEGIN -->

- [ ] #1 Plain refactor - dependency is updated and functionality keeps working as expected
<!-- AC:END -->
