mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 05:19:51 +00:00
Fixed the duplicate data check problem, history filter and add tts stream (#477)
This commit is contained in:
@@ -37,7 +37,7 @@ export const streamFetch = ({
|
||||
})
|
||||
});
|
||||
|
||||
if (!response?.body) {
|
||||
if (!response?.body || !response?.ok) {
|
||||
throw new Error('Request Error');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user