We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26c3edd commit e986088Copy full SHA for e986088
1 file changed
app/components/chat.tsx
@@ -520,8 +520,8 @@ export function ChatActions(props: {
520
521
// if current model is not available
522
// switch to first available model
523
- const isUnavaliableModel = !models.some((m) => m.name === currentModel);
524
- if (isUnavaliableModel && models.length > 0) {
+ const isUnavailableModel = !models.some((m) => m.name === currentModel);
+ if (isUnavailableModel && models.length > 0) {
525
// show next model to default model if exist
526
let nextModel = models.find((model) => model.isDefault) || models[0];
527
chatStore.updateCurrentSession((session) => {
0 commit comments