File tree 1 file changed +7
-7
lines changed
packages/Webkul/Admin/src/Config
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 196
196
'title ' => 'admin::app.configuration.index.magic-ai.settings.enable ' ,
197
197
'type ' => 'boolean ' ,
198
198
'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 ' ,
199
206
], [
200
207
'name ' => 'model ' ,
201
208
'title ' => 'admin::app.configuration.index.magic-ai.settings.models.title ' ,
223
230
'value ' => 'x-ai/grok-2-1212 ' ,
224
231
],
225
232
],
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 ' ,
233
233
], [
234
234
'name ' => 'other_model ' ,
235
235
'title ' => 'admin::app.configuration.index.magic-ai.settings.other ' ,
You can’t perform that action at this time.
0 commit comments