Fix model override for persisting default assistant (#2081)

* fix model override for persisting default assistant

* run pretty

* don't modify

* Update ChatPage.tsx
This commit is contained in:
pablodanswer 2024-08-08 14:22:19 -07:00 committed by GitHub
parent c1e3a1b3e7
commit 1d989f5343
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -789,7 +789,7 @@ export function ChatPage({
const currentAssistantId = alternativeAssistantOverride
? alternativeAssistantOverride.id
: alternativeAssistant?.id || liveAssistant.id;
: (alternativeAssistant?.id ?? liveAssistant.id);
resetInputBar();