mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-06 07:29:09 +08:00
chore: add placeholder for openai settings
This commit is contained in:
@@ -18,11 +18,19 @@ const items: SettingItem<Experimental>[] = [
|
||||
configKey: 'openai_api_key',
|
||||
label: () => t('config.experimental_set.openai_api_key'),
|
||||
type: 'input',
|
||||
prop: {
|
||||
type: 'password',
|
||||
placeholder: 'e.g: sk-3Bl****w2E9kW',
|
||||
},
|
||||
},
|
||||
{
|
||||
configKey: 'openai_api_base',
|
||||
label: () => t('config.experimental_set.openai_api_base'),
|
||||
type: 'input',
|
||||
prop: {
|
||||
type: 'url',
|
||||
placeholder: 'OpenAI API Base URL',
|
||||
},
|
||||
},
|
||||
{
|
||||
configKey: 'openai_model',
|
||||
|
||||
Reference in New Issue
Block a user