diff --git a/app/client/api.ts b/app/client/api.ts index 30a220ea422..56fa3299624 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -144,6 +144,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";