This commit is contained in:
parent
40a458989b
commit
c54328b2c8
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue