Skip to content

Commit e7c67d4

Browse files
committed
bug #1089 [Demo] Patch max_output_token after OpenAI responses migration (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Demo] Patch max_output_token after OpenAI responses migration | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT Follows #871 Commits ------- fee3a4b Patch max_output_token after OpenAI responses migration
2 parents 41955d3 + fee3a4b commit e7c67d4

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)