mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 13:38:00 +00:00
Add whisper and tts ui (#484)
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
@@ -110,6 +110,12 @@ export const streamFetch = ({
|
||||
};
|
||||
read();
|
||||
} catch (err: any) {
|
||||
if (abortSignal.signal.aborted) {
|
||||
return resolve({
|
||||
responseText: '',
|
||||
responseData: []
|
||||
});
|
||||
}
|
||||
console.log(err, 'fetch error');
|
||||
|
||||
reject(getErrText(err, '请求异常'));
|
||||
|
Reference in New Issue
Block a user