38
38
:show-trailing-button =" !!state.url"
39
39
@update:model-value =" onSensitiveInput(true)"
40
40
@trailing-button-click =" state.url = '' ; onSensitiveInput(true)" >
41
- <EarthIcon />
41
+ <template #icon >
42
+ <EarthIcon :size =" 20" />
43
+ </template >
42
44
</NcTextField >
43
45
<NcButton variant =" tertiary"
44
46
:title =" t('integration_openai', 'Leave empty to use {openaiApiUrl}', { openaiApiUrl: 'https://api.openai.com/v1' })" >
45
47
<template #icon >
46
- <HelpCircleIcon />
48
+ <HelpCircleOutlineIcon />
47
49
</template >
48
50
</NcButton >
49
51
</div >
70
72
<NcButton variant =" tertiary"
71
73
:title =" t('integration_openai', 'This name will be displayed as provider name in the AI admin settings')" >
72
74
<template #icon >
73
- <HelpCircleIcon />
75
+ <HelpCircleOutlineIcon />
74
76
</template >
75
77
</NcButton >
76
78
</div >
85
87
:show-trailing-button =" !!state.request_timeout"
86
88
@update:model-value =" onInput()"
87
89
@trailing-button-click =" state.request_timeout = '' ; onInput()" >
88
- <TimerAlertOutlineIcon />
90
+ <template #icon >
91
+ <TimerAlertOutlineIcon :size =" 20" />
92
+ </template >
89
93
<template #trailing-button-icon >
90
94
<CloseIcon :size =" 20" />
91
95
</template >
92
96
</NcInputField >
93
97
<NcButton variant =" tertiary"
94
98
:title =" t('integration_openai', 'Timeout for the request to the external API')" >
95
99
<template #icon >
96
- <HelpCircleIcon />
100
+ <HelpCircleOutlineIcon />
97
101
</template >
98
102
</NcButton >
99
103
</div >
139
143
@update:model-value =" onSensitiveInput(true)"
140
144
@trailing-button-click =" state.api_key = '' ; onSensitiveInput(true)"
141
145
@focus =" readonly = false" >
142
- <KeyIcon />
146
+ <template #icon >
147
+ <KeyOutlineIcon :size =" 20" />
148
+ </template >
143
149
</NcTextField >
144
150
</div >
145
151
<NcNoteCard v-show =" state.url === ''" type =" info" >
161
167
@update:model-value =" onSensitiveInput(true)"
162
168
@trailing-button-click =" state.basic_user = '' ; onSensitiveInput(true)"
163
169
@focus =" readonly = false" >
164
- <AccountIcon />
170
+ <template #icon >
171
+ <AccountOutlineIcon :size =" 20" />
172
+ </template >
165
173
</NcTextField >
166
174
</div >
167
175
<div class =" line" >
176
184
@update:model-value =" onSensitiveInput(true)"
177
185
@trailing-button-click =" state.basic_password = '' ; onSensitiveInput(true)"
178
186
@focus =" readonly = false" >
179
- <KeyIcon />
187
+ <template #icon >
188
+ <KeyOutlineIcon :size =" 20" />
189
+ </template >
180
190
</NcTextField >
181
191
</div >
182
192
</div >
233
243
target =" _blank" >
234
244
<NcButton variant =" tertiary" aria-label =" openai-info" >
235
245
<template #icon >
236
- <HelpCircleIcon />
246
+ <HelpCircleOutlineIcon />
237
247
</template >
238
248
</NcButton >
239
249
</a >
243
253
target =" _blank" >
244
254
<NcButton variant =" tertiary" aria-label =" localai-info" >
245
255
<template #icon >
246
- <HelpCircleIcon />
256
+ <HelpCircleOutlineIcon />
247
257
</template >
248
258
</NcButton >
249
259
</a >
260
270
<NcButton variant =" tertiary"
261
271
:title =" llmExtraParamHint" >
262
272
<template #icon >
263
- <HelpCircleIcon />
273
+ <HelpCircleOutlineIcon />
264
274
</template >
265
275
</NcButton >
266
276
</div >
282
292
<NcButton variant =" tertiary"
283
293
:title =" t('integration_openai', 'Split the prompt into chunks with each chunk being no more than the specified number of tokens (0 disables chunking)')" >
284
294
<template #icon >
285
- <HelpCircleIcon />
295
+ <HelpCircleOutlineIcon />
286
296
</template >
287
297
</NcButton >
288
298
</div >
308
318
target =" _blank" >
309
319
<NcButton variant =" tertiary" aria-label =" openai-info" >
310
320
<template #icon >
311
- <HelpCircleIcon />
321
+ <HelpCircleOutlineIcon />
312
322
</template >
313
323
</NcButton >
314
324
</a >
318
328
target =" _blank" >
319
329
<NcButton variant =" tertiary" aria-label =" localai-info" >
320
330
<template #icon >
321
- <HelpCircleIcon />
331
+ <HelpCircleOutlineIcon />
322
332
</template >
323
333
</NcButton >
324
334
</a >
338
348
<NcButton variant =" tertiary"
339
349
:title =" defaultImageSizeParamHint" >
340
350
<template #icon >
341
- <HelpCircleIcon />
351
+ <HelpCircleOutlineIcon />
342
352
</template >
343
353
</NcButton >
344
354
</div >
369
379
target =" _blank" >
370
380
<NcButton variant =" tertiary" aria-label =" openai-info" >
371
381
<template #icon >
372
- <HelpCircleIcon />
382
+ <HelpCircleOutlineIcon />
373
383
</template >
374
384
</NcButton >
375
385
</a >
379
389
target =" _blank" >
380
390
<NcButton variant =" tertiary" aria-label =" localai-info" >
381
391
<template #icon >
382
- <HelpCircleIcon />
392
+ <HelpCircleOutlineIcon />
383
393
</template >
384
394
</NcButton >
385
395
</a >
408
418
target =" _blank" >
409
419
<NcButton variant =" tertiary" aria-label =" openai-info" >
410
420
<template #icon >
411
- <HelpCircleIcon />
421
+ <HelpCircleOutlineIcon />
412
422
</template >
413
423
</NcButton >
414
424
</a >
418
428
target =" _blank" >
419
429
<NcButton variant =" tertiary" aria-label =" localai-info" >
420
430
<template #icon >
421
- <HelpCircleIcon />
431
+ <HelpCircleOutlineIcon />
422
432
</template >
423
433
</NcButton >
424
434
</a >
433
443
variant =" tertiary"
434
444
aria-label =" voices-info" >
435
445
<template #icon >
436
- <HelpCircleIcon />
446
+ <HelpCircleOutlineIcon />
437
447
</template >
438
448
</NcButton >
439
449
</label >
529
539
<NcButton variant =" tertiary"
530
540
:title =" t('integration_openai', 'Maximum number of new tokens generated for a single text generation prompt')" >
531
541
<template #icon >
532
- <HelpCircleIcon />
542
+ <HelpCircleOutlineIcon />
533
543
</template >
534
544
</NcButton >
535
545
</div >
574
584
</template >
575
585
576
586
<script >
577
- import AccountIcon from ' vue-material-design-icons/Account .vue'
587
+ import AccountOutlineIcon from ' vue-material-design-icons/AccountOutline .vue'
578
588
import CloseIcon from ' vue-material-design-icons/Close.vue'
579
589
import EarthIcon from ' vue-material-design-icons/Earth.vue'
580
- import HelpCircleIcon from ' vue-material-design-icons/HelpCircle .vue'
581
- import KeyIcon from ' vue-material-design-icons/Key .vue'
590
+ import HelpCircleOutlineIcon from ' vue-material-design-icons/HelpCircleOutline .vue'
591
+ import KeyOutlineIcon from ' vue-material-design-icons/KeyOutline .vue'
582
592
import TimerAlertOutlineIcon from ' vue-material-design-icons/TimerAlertOutline.vue'
583
593
584
594
import OpenAiIcon from ' ./icons/OpenAiIcon.vue'
@@ -604,12 +614,12 @@ export default {
604
614
605
615
components: {
606
616
OpenAiIcon,
607
- KeyIcon ,
617
+ KeyOutlineIcon ,
608
618
CloseIcon,
609
- AccountIcon ,
619
+ AccountOutlineIcon ,
610
620
EarthIcon,
611
621
TimerAlertOutlineIcon,
612
- HelpCircleIcon ,
622
+ HelpCircleOutlineIcon ,
613
623
NcButton,
614
624
NcSelect,
615
625
NcCheckboxRadioSwitch,
0 commit comments