Skip to content

Commit 21c5e90

Browse files
committed
fix: openai word spelling
1 parent e5b6d42 commit 21c5e90

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/app/dashboard/ai/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const AISettingsPage = () => {
2222
doubaoApiKey,
2323
doubaoModelId,
2424
deepseekApiKey,
25-
openAiApiKey,
26-
openAiModelId,
27-
openAiEndpoint,
25+
openaiApiKey,
26+
openaiModelId,
27+
openaiApiEndpoint,
2828
setDoubaoApiKey,
2929
setDoubaoModelId,
3030
setDeepseekApiKey,
@@ -108,7 +108,7 @@ const AISettingsPage = () => {
108108
link: "https://platform.openai.com/api-keys",
109109
color: "text-blue-500",
110110
bgColor: "bg-blue-50 dark:bg-blue-950/50",
111-
isConfigured: !!(openAiApiKey && openAiModelId && openAiEndpoint)
111+
isConfigured: !!(openaiApiKey && openaiModelId && openaiApiEndpoint)
112112
}
113113
];
114114

@@ -220,7 +220,7 @@ const AISettingsPage = () => {
220220
</div>
221221
<Input
222222
value={
223-
model.id === "doubao" ? doubaoApiKey : model.id === "openai" ? openAiApiKey : deepseekApiKey
223+
model.id === "doubao" ? doubaoApiKey : model.id === "openai" ? openaiApiKey : deepseekApiKey
224224
}
225225
onChange={(e) =>
226226
handleApiKeyChange(
@@ -268,7 +268,7 @@ const AISettingsPage = () => {
268268
{t("dashboard.settings.ai.openai.modelId")}
269269
</Label>
270270
<Input
271-
value={openAiModelId}
271+
value={openaiModelId}
272272
onChange={(e) => handleModelIdChange(e, "openai")}
273273
placeholder={t(
274274
"dashboard.settings.ai.openai.modelId"
@@ -289,7 +289,7 @@ const AISettingsPage = () => {
289289
{t("dashboard.settings.ai.openai.apiEndpoint")}
290290
</Label>
291291
<Input
292-
value={openAiEndpoint}
292+
value={openaiApiEndpoint}
293293
onChange={(e) => handleApiEndpointChange(e, "openai")}
294294
placeholder={t(
295295
"dashboard.settings.ai.openai.apiEndpoint"

0 commit comments

Comments
 (0)