Skip to content

Commit

Permalink
v2.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed Mar 14, 2024
1 parent 1c2db04 commit e0e244a
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 7 deletions.
4 changes: 4 additions & 0 deletions changlog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 功能升级日志

# 计划
# 2.16.2
- 😄 新增:MJ `--cref 图片url` 生成角色一致的图像
- 🐞 优化:新开会话模型 每个会话一个自己的模型 #211 #193

# 2.16.1
- 🐞 修复:头像链接加载很慢 #212
- 🐞 修复:关于模型`claude-3` `max_tokens` 增加为 4k #214
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.16.1",
"version": "2.16.2",
"private": false,
"description": "ChatGPT Web Midjourney Proxy",
"author": "Dooy <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default {
,img2textinfo:'不知如何写提示词?用图生文试试!<br/>提交图片,出提示词'
,traning:'翻译中...'
,imgcreate:'生成图片'
,imginfo:'其他参数: <li>1 --no 忽略 --no car 图中不出现车 </li><li>2 --seed 可先获取种子 --seed 123456 </li> <li>3 --chaos 10 混合(范围:0-100)</li> <li>4 --tile 碎片化 </li> <li>5 --sref 图片url 生成风格一致的图像 </li> '
,imginfo:'其他参数: <li>1 --no 忽略 --no car 图中不出现车 </li><li>2 --seed 可先获取种子 --seed 123456 </li> <li>3 --chaos 10 混合(范围:0-100)</li> <li>4 --tile 碎片化 </li> <li>5 --sref 图片url 生成风格一致的图像 <li>6 --cref 图片url 生成<b>角色</b>一致的图像 </li> '
,tStyle:'风格'
,tView:'视角'
,tShot:'人物镜头'
Expand Down
13 changes: 11 additions & 2 deletions src/views/chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ const goUseGpts= async ( item: gptsType)=>{
gptConfigStore.setMyData(saveObj);
if(chatStore.active){ //保存到对话框
const chatSet = new chatSetting( chatStore.active );
if( chatSet.findIndex()>-1 ) chatSet.save( saveObj )
//if( chatSet.findIndex()>-1 ) chatSet.save( saveObj )
chatSet.save( saveObj )
}
ms.success(t('mjchat.success2'));
const gptUrl= `https://gpts.ddaiai.com/open/gptsapi/use`;
Expand Down Expand Up @@ -550,7 +551,15 @@ watch(()=>homeStore.myData.act,(n)=>{
if(n=='draw') scrollToBottom();
if(n=='scrollToBottom') scrollToBottom();
if(n=='scrollToBottomIfAtBottom') scrollToBottomIfAtBottom();
if(n=='gpt.submit' || n=='gpt.resubmit'){ loading.value = true;}
if(n=='gpt.submit' || n=='gpt.resubmit'){
loading.value = true;
if(chatStore.active){
const chatSet = new chatSetting( chatStore.active );
if( chatSet.findIndex()==-1 ) { //如果是空保存到对话框
chatSet.save( chatSet.getGptConfig() )
}
}
}
if(n=='stopLoading'){ loading.value = false;}
});
const st =ref({inputme:true});
Expand Down
7 changes: 6 additions & 1 deletion src/views/mj/aiGptsCom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ const go= async ( item: gptsType)=>{
gptConfigStore.setMyData(saveObj);
if(chatStore.active){ //保存到对话框
const chatSet = new chatSetting( chatStore.active );
if( chatSet.findIndex()>-1 ) chatSet.save( saveObj )
// if( chatSet.findIndex()>-1 ){
// mlog('含有: ', chatSet.findIndex() );
// }
//全保存
chatSet.save( saveObj )
}
ms.success(t('mjchat.success2'));
const gptUrl= `https://gpts.ddaiai.com/open/gptsapi/use`;
Expand Down
5 changes: 3 additions & 2 deletions src/views/mj/aiModel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ onMounted(() => {

<section class=" text-right flex justify-end space-x-2" >
<NButton @click="reSet()">{{ $t('mj.setBtBack') }}</NButton>
<NButton type="primary" @click="saveChat">{{ $t('mj.setBtSaveChat') }}</NButton>
<NButton type="primary" @click="save">{{ $t('mj.setBtSaveSys') }}</NButton>
<!-- <NButton type="primary" @click="saveChat">{{ $t('mj.setBtSaveChat') }}</NButton>
<NButton type="primary" @click="save">{{ $t('mj.setBtSaveSys') }}</NButton> -->
<NButton type="primary" @click="saveChat">{{ $t('common.save') }}</NButton>
</section>
</template>

0 comments on commit e0e244a

Please sign in to comment.