From c54328b2c87386031becf42a7d2a2339d30ae1c9 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 27 May 2025 17:51:32 +0800 Subject: [PATCH] . --- chatdesk-ui/components/utility/global-state.tsx | 2 +- chatdesk-ui/types/llms.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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