Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: default asistant
Faisal Amirbfe575dbcc7e
diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsxindex dc8183acb..15eeed6b1 100644--- a/web-app/src/containers/ChatInput.tsx+++ b/web-app/src/containers/ChatInput.tsx@@ -1570,7 +1570,7 @@ const ChatInput = memo(function ChatInput({</DropdownMenuItem>{assistants.length > 0 ? (assistants.map((assistant) => {- const isSelected = selectedAssistant?.id === assistant.id ||+ const isSelected = initialMessage && selectedAssistant?.id === assistant.id ||(assistant && currentThread?.assistants?.some((a) => a.id === assistant.id))return (<DropdownMenuItem