|
@@ -32,7 +32,8 @@
|
|
temporaryChatEnabled,
|
|
temporaryChatEnabled,
|
|
mobile,
|
|
mobile,
|
|
showOverview,
|
|
showOverview,
|
|
- chatTitle
|
|
|
|
|
|
+ chatTitle,
|
|
|
|
+ showArtifacts
|
|
} from '$lib/stores';
|
|
} from '$lib/stores';
|
|
import {
|
|
import {
|
|
convertMessagesToHistory,
|
|
convertMessagesToHistory,
|
|
@@ -312,6 +313,11 @@
|
|
//////////////////////////
|
|
//////////////////////////
|
|
|
|
|
|
const initNewChat = async () => {
|
|
const initNewChat = async () => {
|
|
|
|
+ await showControls.set(false);
|
|
|
|
+ await showCallOverlay.set(false);
|
|
|
|
+ await showOverview.set(false);
|
|
|
|
+ await showArtifacts.set(false);
|
|
|
|
+
|
|
if ($page.url.pathname.includes('/c/')) {
|
|
if ($page.url.pathname.includes('/c/')) {
|
|
window.history.replaceState(history.state, '', `/`);
|
|
window.history.replaceState(history.state, '', `/`);
|
|
}
|
|
}
|