Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing ContextWrite default task type in task processing manager #46003

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

julien-nc
Copy link
Member

Spotted that while implementing a provider 😁

@kyteinsky
Copy link
Contributor

There seems to be one more here: https://github.com/nextcloud/server/blob/master/lib/public/TaskProcessing/TaskTypes/GenerateEmoji.php

@@ -395,6 +395,7 @@ private function _getTaskTypes(): array {
\OCP\TaskProcessing\TaskTypes\TextToTextSummary::ID => \OCP\Server::get(\OCP\TaskProcessing\TaskTypes\TextToTextSummary::class),
\OCP\TaskProcessing\TaskTypes\TextToImage::ID => \OCP\Server::get(\OCP\TaskProcessing\TaskTypes\TextToImage::class),
\OCP\TaskProcessing\TaskTypes\AudioToText::ID => \OCP\Server::get(\OCP\TaskProcessing\TaskTypes\AudioToText::class),
\OCP\TaskProcessing\TaskTypes\ContextWrite::ID => \OCP\Server::get(\OCP\TaskProcessing\TaskTypes\ContextWrite::class),
Copy link
Member

Choose a reason for hiding this comment

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

AH, damn. Yeah, please add the emoji one as well.

…r::_getTaskTypes

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…er::_getTaskTypes

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the fix/noid/undeclared-context-write-task-type branch from aa974f2 to 7e904ae Compare June 20, 2024 10:56
@julien-nc julien-nc merged commit 08cf609 into master Jun 20, 2024
165 checks passed
@julien-nc julien-nc deleted the fix/noid/undeclared-context-write-task-type branch June 20, 2024 11:56
@blizzz blizzz mentioned this pull request Jul 24, 2024
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.

4 participants