diff --git a/README.md b/README.md index 1616d30..db8ab71 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,16 @@ # Yi - Ai 更新日志 +## V2.6.0(20240705) + +### 功能优化 + +1. **更新模型列表,新增gpt-4o、claude3.5等热门模型**: + +2. **新增模型识图功能**: + + - 支持gpt-4o识图功能,gpt-4o-all文件分析功能 + ## V2.5.1(20240205) ### 功能优化 diff --git a/admin/package.json b/admin/package.json index 7c69d8f..6cba44d 100644 --- a/admin/package.json +++ b/admin/package.json @@ -1,5 +1,5 @@ { - "version": "2.5.0", + "version": "2.6.0", "scripts": { "dev": "vite", "build:test": "vue-tsc --noEmit && vite build --mode test", diff --git a/admin/src/constants/index.ts b/admin/src/constants/index.ts index c363d49..1047f33 100644 --- a/admin/src/constants/index.ts +++ b/admin/src/constants/index.ts @@ -166,6 +166,7 @@ export const MODEL_LIST = [ "gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-16k", + "gpt-3.5-turbo-instruct", "gpt-4", "gpt-4-0613", "gpt-4-32k", @@ -174,10 +175,21 @@ export const MODEL_LIST = [ "gpt-4-vision-preview", "gpt-4-all", "gpt-4-0125-preview", - 'dall-e-3', + "gpt-4-turbo-2024-04-09", + "gpt-4-turbo-preview", + "gpt-4o", + "gpt-4o-2024-05-13", + "gpt-4o-all", + "dall-e-3", // claude "claude-2.0", "claude-2.1", + "claude-3.0", + "claude-3-5-sonnet-20240620", + "claude-3-haiku-20240307", + "claude-3-opus-20240229", + "claude-3-sonnet-20240229", + "claude-instant-1.2", // gemini "gemini-pro", // 百度文心 @@ -200,6 +212,15 @@ export const MODEL_LIST = [ "360GPT_S2_V9", // 讯飞星火 "SparkDesk", + "SparkDesk-v3.5", + // kimi + "kimi", + "kimi-128k", + "kimi-all", + //deepseek + "deepseek", + "deepseek-chat", + "deepseek-coder", ]; // 模型列表 0 mj 1 Dall-e @@ -284,42 +305,63 @@ export const MODELSMAP = { export const MODELSMAPLIST = { 1: [ "gpt-3.5-turbo", - "gpt-3.5-turbo-1106", - "gpt-3.5-turbo-16k", - "gpt-4", - "gpt-4-0613", - "gpt-4-32k", - "gpt-4-32k-0613", - "gpt-4-1106-preview", - "gpt-4-vision-preview", - "gpt-4-all", - "gpt-4-0125-preview", - 'dall-e-3', - // claude - "claude-2.0", - "claude-2.1", - // gemini - "gemini-pro", - // 百度文心 - "ERNIE-Bot", - "ERNIE-Bot-4", - "ERNIE-Bot-turbo", - // 阿里通义 - "qwen-turbo", - "qwen-plus", - "qwen-max", - "qwen-max-lingcontext", - // 腾讯混元 - "hunyuan", - // 清华智谱 - "chatglm_turbo", - "chatglm_pro", - "chatglm_std", - "chatglm_lite", - // 360 智脑 - "360GPT_S2_V9", - // 讯飞星火 - "SparkDesk", + "gpt-3.5-turbo-1106", + "gpt-3.5-turbo-16k", + "gpt-3.5-turbo-instruct", + "gpt-4", + "gpt-4-0613", + "gpt-4-32k", + "gpt-4-32k-0613", + "gpt-4-1106-preview", + "gpt-4-vision-preview", + "gpt-4-all", + "gpt-4-0125-preview", + "gpt-4-turbo-2024-04-09", + "gpt-4-turbo-preview", + "gpt-4o", + "gpt-4o-2024-05-13", + "gpt-4o-all", + "dall-e-3", + // claude + "claude-2.0", + "claude-2.1", + "claude-3.0", + "claude-3-5-sonnet-20240620", + "claude-3-haiku-20240307", + "claude-3-opus-20240229", + "claude-3-sonnet-20240229", + "claude-instant-1.2", + // gemini + "gemini-pro", + // 百度文心 + "ERNIE-Bot", + "ERNIE-Bot-4", + "ERNIE-Bot-turbo", + // 阿里通义 + "qwen-turbo", + "qwen-plus", + "qwen-max", + "qwen-max-lingcontext", + // 腾讯混元 + "hunyuan", + // 清华智谱 + "chatglm_turbo", + "chatglm_pro", + "chatglm_std", + "chatglm_lite", + // 360 智脑 + "360GPT_S2_V9", + // 讯飞星火 + "SparkDesk", + "SparkDesk-v3.5", + // kimi + "kimi", + "kimi-128k", + "kimi-all", + //deepseek + "deepseek", + "deepseek-chat", + "deepseek-coder", ], 2: [ "ERNIE-Bot", diff --git a/chat/.env.development b/chat/.env.development new file mode 100644 index 0000000..2f9d677 --- /dev/null +++ b/chat/.env.development @@ -0,0 +1,5 @@ +# 本地链接生产 +VITE_GLOB_API_URL=http://172.20.10.2:9520/api + +VITE_GLOB_OPEN_LONG_REPLY=false +VITE_GLOB_APP_PWA=false diff --git a/chat/package.json b/chat/package.json index 92ab56b..6cd1d72 100644 --- a/chat/package.json +++ b/chat/package.json @@ -1,6 +1,6 @@ { "name": "chatgpt-cooper", - "version": "2.5.0", + "version": "2.6.0", "private": true, "description": "ChatGPT Cooper", "author": "Yi ", diff --git a/chat/src/views/chat/chatBase.vue b/chat/src/views/chat/chatBase.vue index 524a9e7..5bb4bf5 100644 --- a/chat/src/views/chat/chatBase.vue +++ b/chat/src/views/chat/chatBase.vue @@ -1,6 +1,14 @@