Skip to content

Commit

Permalink
Merge pull request #3233 from nanaya-tachibana/nanaya/model-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Nov 13, 2023
2 parents 549a2fd + 3a654ba commit fdca9e5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/components/model-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ export function ModelConfigList(props: {
);
}}
>
{allModels.map((v, i) => (
<option value={v.name} key={i} disabled={!v.available}>
{v.name}
</option>
))}
{allModels
.filter((v) => v.available)
.map((v, i) => (
<option value={v.name} key={i}>
{v.displayName}
</option>
))}
</Select>
</ListItem>
<ListItem
Expand Down

0 comments on commit fdca9e5

Please sign in to comment.