mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			1ccad0265a
			...
			Leizhenpen
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					c9ef6d58ed | ||
| 
						 | 
					11b37c15bd | ||
| 
						 | 
					1d0038f17d | ||
| 
						 | 
					619fa519c0 | 
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -40,13 +40,12 @@ English / [简体中文](./README_CN.md)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 🥳 Cheer for DeepSeek, China's AI star!
 | 
					## 🥳 Cheer for NextChat iOS Version Online!
 | 
				
			||||||
 > Purpose-Built UI for DeepSeek Reasoner Model
 | 
					 > [ 👉 Click Here Install Now](https://apps.apple.com/us/app/nextchat-ai/id6743085599)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
<img src="https://github.com/user-attachments/assets/f3952210-3af1-4dc0-9b81-40eaa4847d9a"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## 🫣 NextChat Support MCP  ! 
 | 
					## 🫣 NextChat Support MCP  ! 
 | 
				
			||||||
> Before build, please set env ENABLE_MCP=true
 | 
					> Before build, please set env ENABLE_MCP=true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@ export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
 | 
				
			|||||||
export const UPDATE_URL = `${REPO_URL}#keep-updated`;
 | 
					export const UPDATE_URL = `${REPO_URL}#keep-updated`;
 | 
				
			||||||
export const RELEASE_URL = `${REPO_URL}/releases`;
 | 
					export const RELEASE_URL = `${REPO_URL}/releases`;
 | 
				
			||||||
export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;
 | 
					export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;
 | 
				
			||||||
export const FETCH_LATEST_RELEASE_URL = `https://api.github.com/repos/${OWNER}/${REPO}/releases/latest`;
 | 
					export const FETCH_TAG_URL = `https://api.github.com/repos/${OWNER}/${REPO}/tags?per_page=1`;
 | 
				
			||||||
export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
 | 
					export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const STABILITY_BASE_URL = "https://api.stability.ai";
 | 
					export const STABILITY_BASE_URL = "https://api.stability.ai";
 | 
				
			||||||
@@ -417,6 +417,14 @@ export const KnowledgeCutOffDate: Record<string, string> = {
 | 
				
			|||||||
  "gpt-4-turbo": "2023-12",
 | 
					  "gpt-4-turbo": "2023-12",
 | 
				
			||||||
  "gpt-4-turbo-2024-04-09": "2023-12",
 | 
					  "gpt-4-turbo-2024-04-09": "2023-12",
 | 
				
			||||||
  "gpt-4-turbo-preview": "2023-12",
 | 
					  "gpt-4-turbo-preview": "2023-12",
 | 
				
			||||||
 | 
					  "gpt-4.1": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.1-2025-04-14": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.1-mini": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.1-mini-2025-04-14": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.1-nano": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.1-nano-2025-04-14": "2024-06",
 | 
				
			||||||
 | 
					  "gpt-4.5-preview": "2023-10",
 | 
				
			||||||
 | 
					  "gpt-4.5-preview-2025-02-27": "2023-10",
 | 
				
			||||||
  "gpt-4o": "2023-10",
 | 
					  "gpt-4o": "2023-10",
 | 
				
			||||||
  "gpt-4o-2024-05-13": "2023-10",
 | 
					  "gpt-4o-2024-05-13": "2023-10",
 | 
				
			||||||
  "gpt-4o-2024-08-06": "2023-10",
 | 
					  "gpt-4o-2024-08-06": "2023-10",
 | 
				
			||||||
@@ -458,6 +466,7 @@ export const DEFAULT_TTS_VOICES = [
 | 
				
			|||||||
export const VISION_MODEL_REGEXES = [
 | 
					export const VISION_MODEL_REGEXES = [
 | 
				
			||||||
  /vision/,
 | 
					  /vision/,
 | 
				
			||||||
  /gpt-4o/,
 | 
					  /gpt-4o/,
 | 
				
			||||||
 | 
					  /gpt-4\.1/,
 | 
				
			||||||
  /claude-3/,
 | 
					  /claude-3/,
 | 
				
			||||||
  /gemini-1\.5/,
 | 
					  /gemini-1\.5/,
 | 
				
			||||||
  /gemini-exp/,
 | 
					  /gemini-exp/,
 | 
				
			||||||
@@ -485,6 +494,14 @@ const openaiModels = [
 | 
				
			|||||||
  "gpt-4-32k-0613",
 | 
					  "gpt-4-32k-0613",
 | 
				
			||||||
  "gpt-4-turbo",
 | 
					  "gpt-4-turbo",
 | 
				
			||||||
  "gpt-4-turbo-preview",
 | 
					  "gpt-4-turbo-preview",
 | 
				
			||||||
 | 
					  "gpt-4.1",
 | 
				
			||||||
 | 
					  "gpt-4.1-2025-04-14",
 | 
				
			||||||
 | 
					  "gpt-4.1-mini",
 | 
				
			||||||
 | 
					  "gpt-4.1-mini-2025-04-14",
 | 
				
			||||||
 | 
					  "gpt-4.1-nano",
 | 
				
			||||||
 | 
					  "gpt-4.1-nano-2025-04-14",
 | 
				
			||||||
 | 
					  "gpt-4.5-preview",
 | 
				
			||||||
 | 
					  "gpt-4.5-preview-2025-02-27",
 | 
				
			||||||
  "gpt-4o",
 | 
					  "gpt-4o",
 | 
				
			||||||
  "gpt-4o-2024-05-13",
 | 
					  "gpt-4o-2024-05-13",
 | 
				
			||||||
  "gpt-4o-2024-08-06",
 | 
					  "gpt-4o-2024-08-06",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
import {
 | 
					import {
 | 
				
			||||||
  FETCH_COMMIT_URL,
 | 
					  FETCH_COMMIT_URL,
 | 
				
			||||||
  FETCH_LATEST_RELEASE_URL,
 | 
					  FETCH_TAG_URL,
 | 
				
			||||||
  ModelProvider,
 | 
					  ModelProvider,
 | 
				
			||||||
  StoreKey,
 | 
					  StoreKey,
 | 
				
			||||||
} from "../constant";
 | 
					} from "../constant";
 | 
				
			||||||
@@ -41,11 +41,11 @@ async function getVersion(type: VersionType) {
 | 
				
			|||||||
    const remoteId = new Date(remoteCommitTime).getTime().toString();
 | 
					    const remoteId = new Date(remoteCommitTime).getTime().toString();
 | 
				
			||||||
    return remoteId;
 | 
					    return remoteId;
 | 
				
			||||||
  } else if (type === "tag") {
 | 
					  } else if (type === "tag") {
 | 
				
			||||||
    const data = (await (await fetch(FETCH_LATEST_RELEASE_URL)).json()) as {
 | 
					    const data = (await (await fetch(FETCH_TAG_URL)).json()) as {
 | 
				
			||||||
      tag_name: string;
 | 
					      commit: { sha: string; url: string };
 | 
				
			||||||
      name: string;
 | 
					      name: string;
 | 
				
			||||||
    };
 | 
					    }[];
 | 
				
			||||||
    return data.tag_name;
 | 
					    return data.at(0)?.name;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user