mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
### What problem does this PR solve? Feat: Support uploading files when running agent #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -18,6 +18,7 @@ const {
|
||||
debug,
|
||||
listCanvasTeam,
|
||||
settingCanvas,
|
||||
uploadCanvasFile,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -81,6 +82,10 @@ const methods = {
|
||||
url: settingCanvas,
|
||||
method: 'post',
|
||||
},
|
||||
uploadCanvasFile: {
|
||||
url: uploadCanvasFile,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const flowService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user