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