mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
### What problem does this PR solve? Feat: Call the interface to stop the output of the large model #10997 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -29,6 +29,7 @@ const {
|
||||
fetchExternalAgentInputs,
|
||||
prompt,
|
||||
cancelDataflow,
|
||||
cancelCanvas,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -120,6 +121,10 @@ const methods = {
|
||||
url: cancelDataflow,
|
||||
method: 'put',
|
||||
},
|
||||
cancelCanvas: {
|
||||
url: cancelCanvas,
|
||||
method: 'put',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const agentService = registerNextServer<keyof typeof methods>(methods);
|
||||
|
||||
Reference in New Issue
Block a user