This commit is contained in:
hailin 2025-05-27 17:42:39 +08:00
parent 72abcbeb26
commit 40a458989b
1 changed files with 2 additions and 2 deletions

View File

@ -96,13 +96,13 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
const [userInput, setUserInput] = useState<string>("")
const [chatMessages, setChatMessages] = useState<ChatMessage[]>([])
const [chatSettings, setChatSettings] = useState<ChatSettings>({
model: "gpt-4-turbo-preview",
model: "GPT",
prompt: "You are a helpful AI assistant.",
temperature: 0.5,
contextLength: 4000,
includeProfileContext: true,
includeWorkspaceInstructions: true,
embeddingsProvider: "openai"
embeddingsProvider: "bge-m3"
})
const [selectedChat, setSelectedChat] = useState<Tables<"chats"> | null>(null)
const [chatFileItems, setChatFileItems] = useState<Tables<"file_items">[]>([])