Browse Source

enh: `call=true` url search param

Timothy J. Baek 8 months ago
parent
commit
61503a654c
1 changed files with 4 additions and 0 deletions
  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 : ''
 		);