mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
feat: display the version and backend service status on the page (#848)
### What problem does this PR solve? #643 feat: display the version and backend service status on the page ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -16,6 +16,8 @@ const {
|
||||
set_tenant_info,
|
||||
add_llm,
|
||||
delete_llm,
|
||||
getSystemStatus,
|
||||
getSystemVersion,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -71,6 +73,14 @@ const methods = {
|
||||
url: delete_llm,
|
||||
method: 'post',
|
||||
},
|
||||
getSystemStatus: {
|
||||
url: getSystemStatus,
|
||||
method: 'get',
|
||||
},
|
||||
getSystemVersion: {
|
||||
url: getSystemVersion,
|
||||
method: 'get',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const userService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user