We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f74c7e commit adb62c3Copy full SHA for adb62c3
web/src/components/chat/chat-topbar.tsx
@@ -66,7 +66,7 @@ export default function ChatTopbar({
66
// save the first and only model in the list as selectedModel in localstorage
67
setChatOptions({ ...chatOptions, selectedModel: modelNames[0] });
68
} catch (error) {
69
- setChatOptions({ ...chatOptions, selectedModel: undefined });
+ setChatOptions({ ...chatOptions, selectedModel: '' });
70
toast.error(error as string);
71
}
72
};
0 commit comments