Explorar o código

enh: `call=true` url search param

Timothy J. Baek hai 8 meses
pai
achega
61503a654c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/lib/components/chat/Chat.svelte

+ 4 - 0
src/lib/components/chat/Chat.svelte

@@ -311,6 +311,10 @@
 			}
 		}
 
+		if ($page.url.searchParams.get('call') === 'true') {
+			showCallOverlay.set(true);
+		}
+
 		selectedModels = selectedModels.map((modelId) =>
 			$models.map((m) => m.id).includes(modelId) ? modelId : ''
 		);