Skip to content

Commit fee3a4b

Browse files
committed
Patch max_output_token after OpenAI responses migration
1 parent 41955d3 commit fee3a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/src/Video/TwigComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function submit(#[LiveArg] string $instruction, #[LiveArg] string $image)
4949
);
5050

5151
$result = $this->platform->invoke('gpt-4o-mini', $messageBag, [
52-
'max_tokens' => 100,
52+
'max_output_tokens' => 100,
5353
]);
5454

5555
$this->caption = $result->asText();

0 commit comments

Comments
 (0)