Skip to content

Commit

Permalink
vision_model
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed May 23, 2024
1 parent 33c15b9 commit ba06465
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# 2.17.8
- 😄 优化:读图由原来的 `gpt-4-vision-preview` 改为 自定义
- 🐞 修复:MJ在等待队列状态下的处理逻辑

# 2.17.7
- 🐞 修复:目前对于公式显示似乎有严重问题 #345 (再次修复)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatgpt-web-midjourney-proxy",
"version": "2.17.7",
"version": "2.17.8",
"private": false,
"description": "ChatGPT Web Midjourney Proxy",
"author": "Dooy <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "ChatGPT-MJ",
"version": "2.17.7"
"version": "2.17.8"
},
"tauri": {
"allowlist": {
Expand Down
4 changes: 2 additions & 2 deletions src/api/mjapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ export const subTask= async (data:any, chat:Chat.Chat )=>{
//if( chat.uuid && chat.index) updateChat(chat.uuid,chat.index, chat)
}
const backOpt= (d:any, chat:Chat.Chat )=>{
if(d.code==1){
chat.text='提交成功!';
if(d.code==1 || d.code==22){
chat.text= d.code==22? d.description :'提交成功!';
chat.mjID= d.result;
flechTask( chat )
chat.loading=true;
Expand Down

0 comments on commit ba06465

Please sign in to comment.