Skip to content

[WIP] Add task processing streaming support#60500

Draft
julien-nc wants to merge 4 commits into
masterfrom
enh/noid/taskprocessing-streaming
Draft

[WIP] Add task processing streaming support#60500
julien-nc wants to merge 4 commits into
masterfrom
enh/noid/taskprocessing-streaming

Conversation

@julien-nc
Copy link
Copy Markdown
Member

Summary

This is related with #60167 and nextcloud/integration_openai#366

This adds support for intermediate (streamed) results of task processing tasks.

  • Add a new interface for task processing providers: ISynchronousProgressiveProvider. This new interface includes an additional callback passed as a param to the provider's process method: reportOutput that can be used to set intermediate results.
  • Add an endpoint for exApps to set intermediate results (without setting the task status to FINISHED)
  • Adjust the manager to correctly use ISynchronousProgressiveProvider providers

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…ults with a callback in process

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the enh/noid/taskprocessing-streaming branch from e9c8490 to 744d8b5 Compare May 20, 2026 14:23
julien-nc added 3 commits May 20, 2026 16:26
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the enh/noid/taskprocessing-streaming branch from 744d8b5 to 5ca4800 Compare May 20, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant