diff --git a/chatdesk-ui/components/utility/global-state.tsx b/chatdesk-ui/components/utility/global-state.tsx index 192370e..6482af4 100644 --- a/chatdesk-ui/components/utility/global-state.tsx +++ b/chatdesk-ui/components/utility/global-state.tsx @@ -96,7 +96,7 @@ export const GlobalState: FC = ({ children }) => { const [userInput, setUserInput] = useState("") const [chatMessages, setChatMessages] = useState([]) const [chatSettings, setChatSettings] = useState({ - model: "GPT", + model: "gpt", prompt: "You are a helpful AI assistant.", temperature: 0.5, contextLength: 4000, diff --git a/chatdesk-ui/types/llms.ts b/chatdesk-ui/types/llms.ts index 6f89acf..37ed468 100644 --- a/chatdesk-ui/types/llms.ts +++ b/chatdesk-ui/types/llms.ts @@ -10,6 +10,7 @@ export type LLMID = // OpenAI Models (UPDATED 5/13/24) export type OpenAILLMID = + | "gpt" // API compatiable | "gpt-4o" // GPT-4o | "gpt-4-turbo-preview" // GPT-4 Turbo | "gpt-4-vision-preview" // GPT-4 Vision