Commit Graph

14 Commits

Author SHA1 Message Date
Jun Siang Cheah
99b1661638 feat: add OpenAI generation stats 2024-05-27 10:11:53 +01:00
Jun Siang Cheah
3113825895 feat: better handle openai errors, add error message to message 2024-05-11 16:34:04 +08:00
Jun Siang Cheah
0872bea790 feat: show RAG query results as citations 2024-05-06 16:14:10 -07:00
Jun Siang Cheah
e8bf596959 feat: switch OpenAI SSE parsing to eventsource-parser 2024-04-30 20:56:58 +01:00
Jun Siang Cheah
ed9e99e946 fix: fluid streaming was "pausing" when tab was not visible 2024-04-28 16:51:36 +01:00
Jun Siang Cheah
be038ab878 fix: handle carriage returns in OpenAI streams 2024-04-27 19:07:41 +01:00
Timothy J. Baek
8c97476140 chore: formatting 2024-04-26 14:49:03 -04:00
Timothy Jaeryang Baek
81fb53e757
Merge pull request #1780 from cheahjs/fix/harden-streaming
fix: harden openai streaming parsing
2024-04-26 11:06:20 -07:00
Jun Siang Cheah
615e9e348f fix: do not error out if OpenAI response has no delta 2024-04-26 18:42:43 +01:00
Jun Siang Cheah
510afab37c fix: catch any errors parsing openai sse events 2024-04-26 18:38:25 +01:00
Arman Ordookhani
4ad7ef84a4 add else 2024-04-26 15:45:29 +02:00
Arman Ordookhani
7449634290 Fix OpenRouter hearbeats breaking streaming 2024-04-26 15:37:18 +02:00
Jun Siang Cheah
67df928c7a feat: make chunk splitting a configurable option 2024-04-21 11:00:33 +01:00
Jun Siang Cheah
efa258c695 feat: split large openai responses into smaller chunkers 2024-04-20 20:34:23 +01:00