diff --git a/app/client/api.ts b/app/client/api.ts index e561390241e..88fa00e4049 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -145,6 +145,7 @@ export function getHeaders() { const headers: Record = { "Content-Type": "application/json", "x-requested-with": "XMLHttpRequest", + "Accept": "application/json", }; const modelConfig = useChatStore.getState().currentSession().mask.modelConfig; const isGoogle = modelConfig.model === "gemini-pro";