fit chat stop (#117)
This commit is contained in:
1 parent
d3d46b5f2f
commit
31cd8921ef
7 files changed
+65
-7
No files matched your search
@@ -21,6 +21,7 @@ class ChatOperator {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
baseURL: BASE_URL_API,
|
||||
signal: options.signal,
|
||||
responseType: 'stream',
|
||||
onDownloadProgress: ({ event }: AxiosProgressEvent) => {
|
||||
const response = event.target.response;
|
||||
@@ -134,7 +135,8 @@ class ChatOperator {
|
||||
authorization: `Bearer ${options.token}`,
|
||||
'x-record-exempt': 'true'
|
||||
},
|
||||
baseURL: BASE_URL_API
|
||||
baseURL: BASE_URL_API,
|
||||
signal: options.signal
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user