mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
### What problem does this PR solve? Feat: Supports to debug single component in Agent. #3993 Fix: The github button on the login page is displayed incorrectly #4002 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -11,6 +11,8 @@ const {
|
||||
runCanvas,
|
||||
listTemplates,
|
||||
testDbConnect,
|
||||
getInputElements,
|
||||
debug,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -46,6 +48,14 @@ const methods = {
|
||||
url: testDbConnect,
|
||||
method: 'post',
|
||||
},
|
||||
getInputElements: {
|
||||
url: getInputElements,
|
||||
method: 'get',
|
||||
},
|
||||
debugSingle: {
|
||||
url: debug,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const chatService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user