Skip to content

Commit

Permalink
Issue #1073: fix name api key and api url
Browse files Browse the repository at this point in the history
  • Loading branch information
lorev101 authored and danielecalda committed Sep 11, 2024
1 parent 800dad4 commit 1c8ed99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js-packages/admin-ui/src/components/EmbeddingModelCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export function EmbeddingModelCreate() {
>
<TextInput label="Name" {...form.inputProps("name")} />
<TextInput label="Description" {...form.inputProps("description")} />
<TextInput label="Api Url" {...form.inputProps("apiKey")} />
<TextInput label="Api Key" {...form.inputProps("apiUrl")} />
<TextInput label="Api Url" {...form.inputProps("apiUrl")} />
<TextInput label="Api Key" {...form.inputProps("apiKey")} />

<div className="sheet-footer">
<CustomButtom nameButton={embeddingModelsId === "new" ? "Create" : "Update"} canSubmit={!form.canSubmit} typeSelectet="submit" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export function LargeLanguageModel() {
>
<TextInput label="Name" {...form.inputProps("name")} />
<TextInput label="Description" {...form.inputProps("description")} />
<TextInput label="Api Url" {...form.inputProps("apiKey")} />
<TextInput label="Api Key" {...form.inputProps("apiUrl")} />
<TextInput label="Api Url" {...form.inputProps("apiUrl")} />
<TextInput label="Api Key" {...form.inputProps("apiKey")} />
<CodeInput language="json" label="Configuration" {...form.inputProps("jsonConfig")} />

<div className="sheet-footer">
Expand Down

0 comments on commit 1c8ed99

Please sign in to comment.