fix: when no AI setting has been set, make sure the selected text processing provider is the same as the one that will be used

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
This commit is contained in:
Julien Veyssier
2024-03-05 11:03:58 +01:00
parent 0379a8d7a9
commit ba94de2510
3 changed files with 5 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ class FakeTextProcessingProvider implements IProvider {
}
public function process(string $prompt): string {
return strrev($prompt);
return strrev($prompt) . ' (done with FakeTextProcessingProvider)';
}
public function getTaskType(): string {

View File

@@ -36,7 +36,7 @@ class FakeTextProcessingProviderSync implements IProviderWithExpectedRuntime {
}
public function process(string $prompt): string {
return strrev($prompt);
return strrev($prompt) . ' (done with FakeTextProcessingProviderSync)';
}
public function getTaskType(): string {