Skip to content

Commit 68737b9

Browse files
fix: changes done
1 parent f0b0dfc commit 68737b9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/Webkul/Admin/src/Config/core_config.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@
196196
'title' => 'admin::app.configuration.index.magic-ai.settings.enable',
197197
'type' => 'boolean',
198198
'channel_based' => true,
199+
], [
200+
'name' => 'api_key',
201+
'title' => 'admin::app.configuration.index.magic-ai.settings.api-key',
202+
'type' => 'password',
203+
'depends' => 'enable:1',
204+
'validation' => 'required_if:enable,1',
205+
'info' => 'admin::app.configuration.index.magic-ai.settings.api-key-info',
199206
], [
200207
'name' => 'model',
201208
'title' => 'admin::app.configuration.index.magic-ai.settings.models.title',
@@ -223,13 +230,6 @@
223230
'value' => 'x-ai/grok-2-1212',
224231
],
225232
],
226-
], [
227-
'name' => 'api_key',
228-
'title' => 'admin::app.configuration.index.magic-ai.settings.api-key',
229-
'type' => 'password',
230-
'depends' => 'enable:1',
231-
'validation' => 'required_if:enable,1',
232-
'info' => 'admin::app.configuration.index.magic-ai.settings.api-key-info',
233233
], [
234234
'name' => 'other_model',
235235
'title' => 'admin::app.configuration.index.magic-ai.settings.other',

0 commit comments

Comments
 (0)