mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: delete the added model #503 and display an error message when the requested file fails to parse #684 (#708)
### What problem does this PR solve? feat: delete the added model #503 feat: display an error message when the requested file fails to parse #684 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -15,6 +15,7 @@ const {
|
||||
set_api_key,
|
||||
set_tenant_info,
|
||||
add_llm,
|
||||
delete_llm,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -66,6 +67,10 @@ const methods = {
|
||||
url: add_llm,
|
||||
method: 'post',
|
||||
},
|
||||
delete_llm: {
|
||||
url: delete_llm,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const userService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user