chore: add placeholder for openai settings

This commit is contained in:
100gle
2023-09-28 16:19:22 +08:00
parent 4d15c20ab5
commit f540beec9f

View File

@@ -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',