mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Merge pull request #3570 from Rocky0102/main
This commit is contained in:
		@@ -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";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user