mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Translation test run form #3355 feat: Wrap QueryTable with Collapse #3355 feat: If the required fields are not filled in, the submit button will be grayed out. #3355 feat: Add RunDrawer #3355 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -62,6 +62,7 @@ export default {
|
||||
web_crawl: `${api_host}/document/web_crawl`,
|
||||
document_infos: `${api_host}/document/infos`,
|
||||
upload_and_parse: `${api_host}/document/upload_and_parse`,
|
||||
parse: `${api_host}/document/parse`,
|
||||
|
||||
// chat
|
||||
setDialog: `${api_host}/dialog/set`,
|
||||
|
||||
@ -99,8 +99,8 @@ request.interceptors.request.use((url: string, options: any) => {
|
||||
});
|
||||
|
||||
request.interceptors.response.use(async (response: any, options) => {
|
||||
if (response?.status === 413) {
|
||||
message.error(RetcodeMessage[413]);
|
||||
if (response?.status === 413 || response?.status === 504) {
|
||||
message.error(RetcodeMessage[response?.status as ResultCode]);
|
||||
}
|
||||
|
||||
if (options.responseType === 'blob') {
|
||||
|
||||
Reference in New Issue
Block a user