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

julien-nc added 4 commits May 18, 2026 12:02
…ults with a callback in process

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>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
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