forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #3570 from Rocky0102/main
This commit is contained in:
commit
c03abdac42
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user