chore: adjust for ollama support (#4129)

This commit is contained in:
fred-bf
2024-02-26 17:18:46 +08:00
committed by GitHub
parent e756506c18
commit ff166f7b4c

View File

@@ -151,7 +151,6 @@ export function getHeaders() {
const accessStore = useAccessStore.getState();
const headers: Record<string, string> = {
"Content-Type": "application/json",
"x-requested-with": "XMLHttpRequest",
Accept: "application/json",
};
const modelConfig = useChatStore.getState().currentSession().mask.modelConfig;