Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#3233 from nanaya-tachibana/nanaya/m…
Browse files Browse the repository at this point in the history
…odel-selection
  • Loading branch information
Yidadaa authored Nov 13, 2023
2 parents f566e23 + fa92b22 commit f2dd322
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 f2dd322

Please sign in to comment.