Save workspace changes
This commit is contained in:
@@ -26,6 +26,8 @@ final class AnalyzeArtworkAiAssistJob implements ShouldQueue
|
||||
public function __construct(
|
||||
private readonly int $artworkId,
|
||||
private readonly bool $force = false,
|
||||
private readonly ?string $intent = null,
|
||||
private readonly ?string $provider = null,
|
||||
) {
|
||||
$queue = (string) config('vision.queue', 'default');
|
||||
if ($queue !== '') {
|
||||
@@ -45,6 +47,6 @@ final class AnalyzeArtworkAiAssistJob implements ShouldQueue
|
||||
return;
|
||||
}
|
||||
|
||||
$aiAssist->analyze($artwork, $this->force);
|
||||
$aiAssist->analyze($artwork, $this->force, $this->intent, $this->provider);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user