|
@@ -31,16 +31,16 @@
|
|
|
<span>{{activeWindowId<=0?$t('ToolBox.AIQuestion.AI_use_intro'):`${historyList.length||0} messages`}}</span>
|
|
|
</div>
|
|
|
<div class="select-box">
|
|
|
- <!-- <el-select v-model="model" :class="{'hint':showHint}" :disabled="isTyping||(windowContentLoading&&windowContentLoading.visible)" ref="modelSelect"
|
|
|
+ <el-select v-model="model" :class="{'hint':showHint}" :disabled="isTyping||(windowContentLoading&&windowContentLoading.visible)" ref="modelSelect"
|
|
|
@click.native="selectClick"
|
|
|
@change="changeModel">
|
|
|
<el-option v-for="item in modelList" :key="item.label"
|
|
|
:label="item.label"
|
|
|
- :value="item.label">
|
|
|
+ :value="item.key">
|
|
|
<span style="float:left">{{item.label}}</span>
|
|
|
- <span style="float:right"><img :src="item.icon" style="margin-top:5px;width:24px;height:24px;"/></span>
|
|
|
+ <!-- <span style="float:right"><img :src="item.icon" style="margin-top:5px;width:24px;height:24px;"/></span> -->
|
|
|
</el-option>
|
|
|
- </el-select> -->
|
|
|
+ </el-select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 仅这一部分滚动 -->
|
|
@@ -104,25 +104,31 @@ export default {
|
|
|
modelOldValue:'',
|
|
|
modelList:[
|
|
|
{
|
|
|
- label:'GPT-4 Turbo',
|
|
|
+ label:'GPT',
|
|
|
+ key:'GPT-4 Turbo',
|
|
|
icon:require('@/assets/img/icons/gpt-4-turbo.png'),
|
|
|
},
|
|
|
{
|
|
|
- label:'GPT4',
|
|
|
- icon:require('@/assets/img/icons/gpt-4.png'),
|
|
|
- },
|
|
|
- {
|
|
|
- label:'gpt-3.5-turbo-16k',
|
|
|
- icon:require('@/assets/img/icons/chat-gpt-16k.png'),
|
|
|
- },
|
|
|
- {
|
|
|
- label:'gpt-3.5-turbo',
|
|
|
- icon:require('@/assets/img/icons/chat-gpt.png'),
|
|
|
- },
|
|
|
- {
|
|
|
- label:'eta',
|
|
|
- icon:require('@/assets/img/icons/horizon.png'),
|
|
|
+ label:'Kimi',
|
|
|
+ key:'Kimi',
|
|
|
+ icon:require('@/assets/img/icons/gpt-4-turbo.png'),
|
|
|
},
|
|
|
+ // {
|
|
|
+ // label:'GPT4',
|
|
|
+ // icon:require('@/assets/img/icons/gpt-4.png'),
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'gpt-3.5-turbo-16k',
|
|
|
+ // icon:require('@/assets/img/icons/chat-gpt-16k.png'),
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'gpt-3.5-turbo',
|
|
|
+ // icon:require('@/assets/img/icons/chat-gpt.png'),
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'eta',
|
|
|
+ // icon:require('@/assets/img/icons/horizon.png'),
|
|
|
+ // },
|
|
|
],//模型列表
|
|
|
showHint:false,//选择模型提示
|
|
|
isTyping:false,//是否处于打字动画中
|
|
@@ -364,7 +370,7 @@ export default {
|
|
|
let params={
|
|
|
AiChatTopicId:this.activeWindowId<=0?0:this.activeWindowId,
|
|
|
Ask:inputText,
|
|
|
- // Model:this.model
|
|
|
+ Model:this.model
|
|
|
}
|
|
|
if(this.aiFileIds && this.aiFileIds.length>0){
|
|
|
// 文件检索功能
|