mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-08 01:20:58 +08:00
fix: parse sse
This commit is contained in:
@@ -34,6 +34,7 @@ export async function fetchSSE(resource, options) {
|
||||
parser.feed(formattedStr)
|
||||
} catch (error) {
|
||||
console.debug('json error', error)
|
||||
parser.feed(str)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user