diff --git a/src/settings.tsx b/src/settings.tsx index cea0000..bbdfa3a 100644 --- a/src/settings.tsx +++ b/src/settings.tsx @@ -92,6 +92,16 @@ export default (props: { setShow: StateUpdater; }) => { if (!props.show) return
; + const link = + location.protocol + + "//" + + location.host + + location.pathname + + `?sys=${encodeURIComponent( + props.chatStore.systemMessageContent + )}&api=${encodeURIComponent(props.chatStore.apiEndpoint)}&mode=${ + props.chatStore.streamMode ? "stream" : "fetch" + }`; return (
@@ -140,7 +150,16 @@ export default (props: { />

-
+
+