diff --git a/src/settings.tsx b/src/settings.tsx index f453992..5b1c8e3 100644 --- a/src/settings.tsx +++ b/src/settings.tsx @@ -97,7 +97,9 @@ export default (props: { "//" + location.host + location.pathname + - `?sys=${encodeURIComponent( + `?key=${encodeURIComponent( + props.chatStore.apiKey + )}&sys=${encodeURIComponent( props.chatStore.systemMessageContent )}&api=${encodeURIComponent(props.chatStore.apiEndpoint)}&mode=${ props.chatStore.streamMode ? "stream" : "fetch"