Cohee
9a6a82b400
Emit event on streaming tick
2024-09-01 11:35:09 +03:00
Cohee
ddc3848b26
Fix smooth streaming for 01.AI
2024-06-30 22:50:41 +03:00
Cohee
a17588fb1b
Fix smooth streaming not working with multiswipe
2024-05-19 16:41:55 +03:00
Cohee
7221549c65
#2013 Fix smooth stream event processing.
2024-04-05 01:25:48 +03:00
Cohee
813476d72a
Fix stream error parsing when using Smooth Streaming
2024-04-04 21:20:10 +03:00
Cohee
54a6f4bc62
Add speed control
2024-04-02 22:52:51 +03:00
Cohee
f13e718dc7
Compatibility with extensions
2024-04-02 20:25:37 +03:00
Cohee
759e8eed0c
Fix for Together
2024-04-02 16:38:39 +03:00
Cohee
2859ae54ab
Don't delay when not in focus
2024-04-02 16:21:55 +03:00
Cohee
ca047034b7
Fix smooth stream for MakerSuite
2024-04-02 16:13:01 +03:00
Cohee
7389286862
Don't show logprobs when using smooth streaming
2024-04-02 15:51:00 +03:00
Cohee
8176e09d4a
Refactor event parsing
2024-04-02 15:25:23 +03:00
Cohee
51b3b8bfaa
Add smooth streaming
2024-04-02 14:56:15 +03:00
valadaptive
0201a0260c
Default event type to 'message' if it's empty
...
Added to the upstream test suite. Matches the spec.
2023-12-10 04:45:10 -05:00
valadaptive
d735b12399
Refactor event stream parsing
...
I was really overcomplicating this before; this is simpler and faster.
Passes my existing test suite.
2023-12-08 15:05:57 -05:00
valadaptive
699c369443
Remove ignoreBOM
...
Apparently the ignoreBOM option actually means "include the BOM". I've
added a test for this in my own repository, and will also be submitting
a pull request to MDN to clarify this in their documentation.
2023-12-07 23:15:55 -05:00
valadaptive
5540c165cf
Refactor server-sent events parsing
...
Create one server-sent events stream class which implements the entire
spec (different line endings, chunking, etc) and use it in all the
streaming generators.
2023-12-07 18:00:36 -05:00