mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
StreamingDone Error Fixed & added Streaming Config to all
This commit is contained in:
@@ -39,6 +39,7 @@ class _SSEDisplayState extends ConsumerState<SSEDisplay> {
|
||||
String out = "";
|
||||
for (String x in widget.sseOutput) {
|
||||
x = x.substring(6);
|
||||
if (x.contains('[DONE]')) continue;
|
||||
out += aiRequestModel.model.provider.modelController
|
||||
.streamOutputFormatter(jsonDecode(x)) ??
|
||||
"<?>";
|
||||
|
||||
Reference in New Issue
Block a user