Skip to content
Snippets Groups Projects

Issue #3370559: array_flip error when if generate content with openai_devel

Merged Ines WALLON requested to merge issue/openai-3370559:3370559-arrayflip-error-when into 1.0.x
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -127,6 +127,7 @@ class ContentGPTDevelGenerate extends ContentDevelGenerate {
* {@inheritdoc}
*/
public function settingsFormValidate(array $form, FormStateInterface $form_state) {
parent::settingsFormValidate($form, $form_state);
$model = $form_state->getValue('model');
$max_tokens = (int) $form_state->getValue('max_tokens');
Loading