From cbbf0f914846c896449a29512d6671c6192394c2 Mon Sep 17 00:00:00 2001 From: Philipp Memmel Date: Fri, 13 Sep 2024 14:28:22 +0200 Subject: [PATCH] MBS-9373: Happify codechecker --- tools/dalle/classes/connector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dalle/classes/connector.php b/tools/dalle/classes/connector.php index bbf9463..1b59592 100644 --- a/tools/dalle/classes/connector.php +++ b/tools/dalle/classes/connector.php @@ -110,8 +110,8 @@ public function get_available_options(): array { ]; break; case 'dall-e-3': - // We assume that if using Azure (in which we would have PRECONFIGURED_MODEL as model) we only can deploy dall-e-3. case base_instance::PRECONFIGURED_MODEL: + // We assume that if using Azure (in which we would have PRECONFIGURED_MODEL as model) we only can deploy dall-e-3. $options['sizes'] = [ ['key' => '1024x1024', 'displayname' => get_string('squared', 'local_ai_manager') . ' (1024px x 1024px)'], ['key' => '1792x1024', 'displayname' => get_string('landscape', 'local_ai_manager') . ' (1792px x 1024px)'],