Skip to content

Commit 9f405a1

Browse files
committed
LLM OCP API: Improve scheduleTask docblock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent ea4dc4c commit 9f405a1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/public/LanguageModel/ILanguageModelManager.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ public function runTask(ILanguageModelTask $task): string;
6262

6363
/**
6464
* Will schedule an LLM inference process in the background. The result will become available
65-
* with the \OCP\LanguageModel\Events\TaskFinishedEvent
65+
* with the \OCP\LanguageModel\Events\TaskSuccessfulEvent
66+
* If inference fails a \OCP\LanguageModel\Events\TaskFailedEvent will be dispatched instead
6667
*
6768
* @throws PreConditionNotMetException If no or not the requested provider was registered but this method was still called
6869
* @since 28.0.0

0 commit comments

Comments
 (0)