This commit is contained in:
parent
6f69bc69c9
commit
c8b996142f
|
|
@ -516,10 +516,10 @@ export const ProfileSettings: FC<ProfileSettingsProps> = ({}) => {
|
|||
{useAzureOpenai
|
||||
? envKeyMap["azure"]
|
||||
? ""
|
||||
: "Azure OpenAI API Key"
|
||||
: t("setup.azureOpenaiApiKey")
|
||||
: envKeyMap["openai"]
|
||||
? ""
|
||||
: "OpenAI API Key"}
|
||||
: t("setup.openaiApiKey")}
|
||||
|
||||
<Button
|
||||
className={cn(
|
||||
|
|
@ -543,7 +543,7 @@ export const ProfileSettings: FC<ProfileSettingsProps> = ({}) => {
|
|||
<Label>{t("profile.azureOpenAIKeySetByAdmin")}</Label>
|
||||
) : (
|
||||
<Input
|
||||
placeholder={t("profile.azureOpenaiApiKey")}
|
||||
placeholder={t("setup.azureOpenaiApiKey")}
|
||||
type="password"
|
||||
value={azureOpenaiAPIKey}
|
||||
onChange={e => setAzureOpenaiAPIKey(e.target.value)}
|
||||
|
|
@ -556,7 +556,7 @@ export const ProfileSettings: FC<ProfileSettingsProps> = ({}) => {
|
|||
<Label>{t("profile.openAIAPIKeySetByAdmin")}</Label>
|
||||
) : (
|
||||
<Input
|
||||
placeholder={t("profile.openaiApiKey")}
|
||||
placeholder={t("setup.openaiApiKey")}
|
||||
type="password"
|
||||
value={openaiAPIKey}
|
||||
onChange={e => setOpenaiAPIKey(e.target.value)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue