Skip to content
Snippets Groups Projects
Commit 614eaa80 authored by Ines WALLON's avatar Ines WALLON Committed by Kevin Quillen
Browse files

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

parent bab243a8
No related branches found
No related tags found
1 merge request!49Issue #3370559: array_flip error when if generate content with openai_devel
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment