diff --git a/app/public/lang/en-us.json b/app/public/lang/en-us.json
index 23b4ef1..3dcabff 100644
--- a/app/public/lang/en-us.json
+++ b/app/public/lang/en-us.json
@@ -1,4 +1,5 @@
{
+ "+G35mR": "Open sidebar",
"/OKZrc": "Find your API key here.",
"3T9nRn": "Your API key is stored only on this device and never transmitted to anyone except OpenAI.",
"47FYwb": "Cancel",
@@ -7,16 +8,18 @@
"A4iXFN": "Temperature: {temperature, number, ::.0}",
"BdPrnc": "Chat with GPT - Unofficial ChatGPT app",
"BwIZY+": "System Prompt",
+ "ECx3EW": "Chat with GPT",
"ExZfjk": "Sign in to sync",
"HIqSlE": "Preview voice",
+ "HyS0qp": "Close sidebar",
"J3ca41": "Play",
"KKa5Br": "Give ChatGPT a realisic human voice by connecting your ElevenLabs account (preview the available voices below). Click here to sign up.",
"KbaJTs": "Loading audio...",
"L5s+z7": "OpenAI API key usage is billed at a pay-as-you-go rate, separate from your ChatGPT subscription.",
+ "NRJ4IQ": "Note: GPT-4 will only work if your OpenAI account has been granted access to the new model. Request access here.",
"O83lC6": "Enter a message here...",
"OKhRC6": "Share",
"Q97T+z": "Paste your API key here",
- "SRsuWF": "Close navigation",
"UT7Nkj": "New Chat",
"Ua8luY": "Hello, how can I help you today?",
"VL24Xt": "Search your chats",
@@ -27,9 +30,9 @@
"jtu3jt": "You can find your API key by clicking your avatar or initials in the top right of the ElevenLabs website, then clicking Profile. Your API key is stored only on this device and never transmitted to anyone except ElevenLabs.",
"mhtiX2": "Customize system prompt",
"mnJYBQ": "Voice",
- "oM3yjO": "Open navigation",
"p556q3": "Copied",
"q/uwLT": "Stop",
+ "rhSI1/": "Model",
"role-chatgpt": "ChatGPT",
"role-system": "System",
"role-user": "You",
@@ -38,4 +41,4 @@
"ss6kle": "Reset to default",
"tZdXp/": "The temperature parameter controls the randomness of the AI's responses. Lower values will make the AI more predictable, while higher values will make it more creative.",
"wEQDC6": "Edit"
-}
+}
\ No newline at end of file
diff --git a/app/src/components/settings/options.tsx b/app/src/components/settings/options.tsx
index 2bb4c8b..aee8563 100644
--- a/app/src/components/settings/options.tsx
+++ b/app/src/components/settings/options.tsx
@@ -1,6 +1,6 @@
import SettingsTab from "./tab";
import SettingsOption from "./option";
-import { Button, Slider, Textarea } from "@mantine/core";
+import { Button, Select, Slider, Textarea } from "@mantine/core";
import { useCallback, useMemo } from "react";
import { defaultSystemPrompt, defaultModel } from "../../openai";
import { useAppDispatch, useAppSelector } from "../../store";
@@ -18,7 +18,7 @@ export default function GenerationOptionsTab(props: any) {
const dispatch = useAppDispatch();
const onSystemPromptChange = useCallback((event: React.ChangeEvent) => dispatch(setSystemPrompt(event.target.value)), [dispatch]);
- const onModelChange = useCallback((event: React.ChangeEvent) => dispatch(setModel(event.target.value)), [dispatch]);
+ const onModelChange = useCallback((value: string) => dispatch(setModel(value)), [dispatch]);
const onResetSystemPrompt = useCallback(() => dispatch(resetSystemPrompt()), [dispatch]);
const onResetModel = useCallback(() => dispatch(resetModel()), [dispatch]);
const onTemperatureChange = useCallback((value: number) => dispatch(setTemperature(value)), [dispatch]);
@@ -51,16 +51,19 @@ export default function GenerationOptionsTab(props: any) {
const modelOption = useMemo(() => (
-
-