Feat: Support uploading files when running agent #3221 (#8697)

### 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:
balibabu
2025-07-07 12:18:18 +08:00
committed by GitHub
parent 9580e99650
commit 4a9708889e
9 changed files with 1634 additions and 27 deletions

View File

@ -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);