mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 13:38:00 +00:00
doc and config rerank (#475)
This commit is contained in:
@@ -95,12 +95,13 @@ export const streamFetch = ({
|
||||
});
|
||||
read();
|
||||
} catch (err: any) {
|
||||
if (err?.message === 'The user aborted a request.') {
|
||||
if (abortSignal.signal.aborted) {
|
||||
return resolve({
|
||||
responseText,
|
||||
responseData
|
||||
});
|
||||
}
|
||||
|
||||
reject({
|
||||
responseText,
|
||||
message: getErrText(err, '请求异常')
|
||||
|
Reference in New Issue
Block a user