Skip to content

Commit

Permalink
fix(ui): show show togetherai models
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed Dec 5, 2024
1 parent 382ae1a commit 95879c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/create/ModelPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ModelPicker: FC<{

const modelData = models.find(m => m.id === model) || models[0];

const filteredModels = models.filter(m => m.type === type)
const filteredModels = models.filter(m => m.type && m.type === type || (type === "text" && m.type === "chat"))

useEffect(() => {
// Set the first model as default if current model is not set or not in the list
Expand Down

0 comments on commit 95879c6

Please sign in to comment.