mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user