From ff166f7b4cf52be5716fb93b7c0f3c872def2ef5 Mon Sep 17 00:00:00 2001 From: fred-bf <157469842+fred-bf@users.noreply.github.com> Date: Mon, 26 Feb 2024 17:18:46 +0800 Subject: [PATCH 1/2] chore: adjust for ollama support (#4129) --- app/client/api.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/client/api.ts b/app/client/api.ts index 9133e2a64..c4d548a41 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -151,7 +151,6 @@ export function getHeaders() { const accessStore = useAccessStore.getState(); const headers: Record = { "Content-Type": "application/json", - "x-requested-with": "XMLHttpRequest", Accept: "application/json", }; const modelConfig = useChatStore.getState().currentSession().mask.modelConfig; From bc1794fb4af5229c4811008ad247b57bbf091334 Mon Sep 17 00:00:00 2001 From: fred-bf <157469842+fred-bf@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:15:00 +0800 Subject: [PATCH 2/2] feat: bump version (#4133) --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d88194020..405d267ff 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "NextChat", - "version": "2.10.3" + "version": "2.11.2" }, "tauri": { "allowlist": {