This commit is contained in:
hailin 2025-05-27 17:51:32 +08:00
parent 40a458989b
commit c54328b2c8
2 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,7 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
const [userInput, setUserInput] = useState<string>("")
const [chatMessages, setChatMessages] = useState<ChatMessage[]>([])
const [chatSettings, setChatSettings] = useState<ChatSettings>({
model: "GPT",
model: "gpt",
prompt: "You are a helpful AI assistant.",
temperature: 0.5,
contextLength: 4000,

View File

@ -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