mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			Leizhenpen
			...
			049d2ff2ac
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					049d2ff2ac | ||
| 
						 | 
					4c0daf40c0 | 
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -40,12 +40,13 @@ English / [简体中文](./README_CN.md)
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
## 🥳 Cheer for NextChat iOS Version Online!
 | 
			
		||||
 > [ 👉 Click Here Install Now](https://apps.apple.com/us/app/nextchat-ai/id6743085599)
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
## 🥳 Cheer for DeepSeek, China's AI star!
 | 
			
		||||
 > Purpose-Built UI for DeepSeek Reasoner Model
 | 
			
		||||
 
 | 
			
		||||
<img src="https://github.com/user-attachments/assets/f3952210-3af1-4dc0-9b81-40eaa4847d9a"/>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 🫣 NextChat Support MCP  ! 
 | 
			
		||||
> Before build, please set env ENABLE_MCP=true
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -52,13 +52,10 @@
 | 
			
		||||
  .sidebar-header-bar {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    margin-bottom: 20px;
 | 
			
		||||
    gap: 10px;
 | 
			
		||||
 | 
			
		||||
    .sidebar-bar-button {
 | 
			
		||||
      flex-grow: 1;
 | 
			
		||||
 | 
			
		||||
      &:not(:last-child) {
 | 
			
		||||
        margin-right: 10px;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@@ -252,13 +249,6 @@
 | 
			
		||||
 | 
			
		||||
  .sidebar-header-bar {
 | 
			
		||||
    flex-direction: column;
 | 
			
		||||
 | 
			
		||||
    .sidebar-bar-button {
 | 
			
		||||
      &:not(:last-child) {
 | 
			
		||||
        margin-right: 0;
 | 
			
		||||
        margin-bottom: 10px;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .chat-item {
 | 
			
		||||
@@ -308,15 +298,10 @@
 | 
			
		||||
  .sidebar-tail {
 | 
			
		||||
    flex-direction: column-reverse;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    gap: 15px;
 | 
			
		||||
 | 
			
		||||
    .sidebar-actions {
 | 
			
		||||
      flex-direction: column-reverse;
 | 
			
		||||
      align-items: center;
 | 
			
		||||
 | 
			
		||||
      .sidebar-action {
 | 
			
		||||
        margin-right: 0;
 | 
			
		||||
        margin-top: 15px;
 | 
			
		||||
      }
 | 
			
		||||
      display: contents;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -329,10 +314,7 @@
 | 
			
		||||
 | 
			
		||||
.sidebar-actions {
 | 
			
		||||
  display: inline-flex;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sidebar-action:not(:last-child) {
 | 
			
		||||
  margin-right: 15px;
 | 
			
		||||
  gap: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.loading-content {
 | 
			
		||||
@@ -346,4 +328,9 @@
 | 
			
		||||
 | 
			
		||||
.rtl-screen {
 | 
			
		||||
  direction: rtl;
 | 
			
		||||
 | 
			
		||||
  .sidebar-drag {
 | 
			
		||||
    right: unset;
 | 
			
		||||
    left: 0;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ import McpIcon from "../icons/mcp.svg";
 | 
			
		||||
import DragIcon from "../icons/drag.svg";
 | 
			
		||||
import DiscoveryIcon from "../icons/discovery.svg";
 | 
			
		||||
 | 
			
		||||
import Locale from "../locales";
 | 
			
		||||
import Locale, { getLang } from "../locales";
 | 
			
		||||
 | 
			
		||||
import { useAppConfig, useChatStore } from "../store";
 | 
			
		||||
 | 
			
		||||
@@ -91,7 +91,11 @@ export function useDragSideBar() {
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
      lastUpdateTime.current = Date.now();
 | 
			
		||||
      const d = e.clientX - startX.current;
 | 
			
		||||
      let d = e.clientX - startX.current;
 | 
			
		||||
      // If text and other elements go from right to left
 | 
			
		||||
      if (getLang() === "ar") {
 | 
			
		||||
        d = -1 * d;
 | 
			
		||||
      }
 | 
			
		||||
      const nextWidth = limit(startDragWidth.current + d);
 | 
			
		||||
      config.update((config) => {
 | 
			
		||||
        if (nextWidth < MIN_SIDEBAR_WIDTH) {
 | 
			
		||||
 
 | 
			
		||||
@@ -417,14 +417,6 @@ export const KnowledgeCutOffDate: Record<string, string> = {
 | 
			
		||||
  "gpt-4-turbo": "2023-12",
 | 
			
		||||
  "gpt-4-turbo-2024-04-09": "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-2024-05-13": "2023-10",
 | 
			
		||||
  "gpt-4o-2024-08-06": "2023-10",
 | 
			
		||||
@@ -466,7 +458,6 @@ export const DEFAULT_TTS_VOICES = [
 | 
			
		||||
export const VISION_MODEL_REGEXES = [
 | 
			
		||||
  /vision/,
 | 
			
		||||
  /gpt-4o/,
 | 
			
		||||
  /gpt-4\.1/,
 | 
			
		||||
  /claude-3/,
 | 
			
		||||
  /gemini-1\.5/,
 | 
			
		||||
  /gemini-exp/,
 | 
			
		||||
@@ -494,14 +485,6 @@ const openaiModels = [
 | 
			
		||||
  "gpt-4-32k-0613",
 | 
			
		||||
  "gpt-4-turbo",
 | 
			
		||||
  "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-2024-05-13",
 | 
			
		||||
  "gpt-4o-2024-08-06",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user