diff --git a/apps/testing/lib/Provider/FakeTextProcessingProvider.php b/apps/testing/lib/Provider/FakeTextProcessingProvider.php index f95b528dfbe60..7110835f415aa 100644 --- a/apps/testing/lib/Provider/FakeTextProcessingProvider.php +++ b/apps/testing/lib/Provider/FakeTextProcessingProvider.php @@ -24,10 +24,11 @@ use OCP\TextProcessing\FreePromptTaskType; use OCP\TextProcessing\IProvider; +use OCP\TextProcessing\IProviderWithExpectedRuntime; use OCP\TextProcessing\ITaskType; /** @template-implements IProvider */ -class FakeTextProcessingProvider implements IProvider { +class FakeTextProcessingProvider implements IProvider, IProviderWithExpectedRuntime { public function getName(): string { return 'Fake text processing provider'; @@ -40,4 +41,8 @@ public function process(string $prompt): string { public function getTaskType(): string { return FreePromptTaskType::class; } + + public function getExpectedRuntime(): int { + return 1; + } }