replicate / replicate-go

Go client for Replicate
https://replicate.com
Apache License 2.0
65 stars 9 forks source link

Define and use default SSE type, `"message"` #78

Closed mattt closed 6 hours ago

mattt commented 1 day ago

According to the HTML Standard, the default type for a server-sent event is "message". This PR corrects the current behavior, which sets a zero value (""`) if the event type isn't specified.