Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

@oleksandr-nc oleksandr-nc commented Jun 3, 2025

  • Resolves: reported internally

Summary

We encountered a situation when the file size for task processing exceeds 512 megabytes (default memory limit for PHP) - and ExApp (stt_whisper2) cannot receive the file for transcription to process it.

Using StreamResponse instead of DataDownloadResponse should not break API compatibility, and should reduce not only resource consumption in the case of AI tasks, but also allow our AI applications to accept files of unlimited size for processing.

Checklist

@oleksandr-nc oleksandr-nc requested a review from a team as a code owner June 3, 2025 07:40
@oleksandr-nc oleksandr-nc requested review from ArtificialOwl, come-nc and yemkareems and removed request for a team June 3, 2025 07:40
…sk file content

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
@oleksandr-nc oleksandr-nc force-pushed the fix/noid/task-processing-file-content-stream branch from cac8136 to 90e8fa2 Compare June 3, 2025 10:09
Copy link
Contributor

@kyteinsky kyteinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@oleksandr-nc
Copy link
Contributor Author

/backport to stable31

@oleksandr-nc oleksandr-nc merged commit d44eade into master Jun 3, 2025
197 of 201 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/noid/task-processing-file-content-stream branch June 3, 2025 12:21
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants