Merge branch 'refs/heads/abp' into perf-ai
This commit is contained in:
BIN
Yi.Bbs.Vue3/src/assets/chat_images/claudeAi.png
Normal file
BIN
Yi.Bbs.Vue3/src/assets/chat_images/claudeAi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/grokAi.png
Normal file
BIN
Yi.Bbs.Vue3/src/assets/chat_images/grokAi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
BIN
Yi.Bbs.Vue3/src/assets/chat_images/qwenAi.png
Normal file
BIN
Yi.Bbs.Vue3/src/assets/chat_images/qwenAi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
@@ -40,15 +40,16 @@ const currentInputValue = ref("");
|
|||||||
//临时存储的输入框,根据用户id及组name、all组为key,data为value
|
//临时存储的输入框,根据用户id及组name、all组为key,data为value
|
||||||
const inputListDataStore = ref([
|
const inputListDataStore = ref([
|
||||||
{key: "all", name: "官方学习交流群", titleName: "官方学习交流群", logo: "yilogo.png", value: ""},
|
{key: "all", name: "官方学习交流群", titleName: "官方学习交流群", logo: "yilogo.png", value: ""},
|
||||||
{key: "ai@deepseek-chat", name: "DeepSeek聊天", titleName: "满血!DeepSeek-聊天模式", logo: "deepSeekAi.png", value: ""},
|
|
||||||
{
|
{key: "ai@gpt-4o-mini", name: "ChatGpt聊天", titleName: "ChatGpt-全能神!综合能力最强!", logo: "openAi.png", value: ""},
|
||||||
key: "ai@deepseek-ai/deepseek-r1",
|
|
||||||
name: "DeepSeek思索",
|
{key: "ai@claude-3-7-sonnet-20250219", name: "Claude聊天", titleName: "Claude3.7 代码逻辑地表最强!", logo: "claudeAi.png", value: ""},
|
||||||
titleName: "满血!DeepSeek-思索模式",
|
{key: "ai@grok-2-latest", name: "Grok聊天", titleName: "Grok2 即将为3.0王的诞生献上礼炮", logo: "grokAi.png", value: ""},
|
||||||
logo: "deepSeekAi.png",
|
|
||||||
value: ""
|
{key: "ai@Qwen/QVQ-72B-Preview", name: "QWen聊天", titleName: "国产阿里千问通义72B", logo: "qwenAi.png", value: ""},
|
||||||
},
|
|
||||||
{key: "ai@gpt-4o-mini", name: "ChatGpt聊天", titleName: "ChatGpt-聊天模式", logo: "openAi.png", value: ""},
|
{key: "ai@deepseek-chat", name: "DeepSeek聊天", titleName: "满血DeepSeek-聊天模式,开源模型第一", logo: "deepSeekAi.png", value: ""},
|
||||||
|
{key: "ai@deepseek-ai/deepseek-r1", name: "DeepSeek思索", titleName: "满血DeepSeek-思索模式", logo: "deepSeekAi.png", value: ""}
|
||||||
]);
|
]);
|
||||||
//AI聊天临时存储
|
//AI聊天临时存储
|
||||||
const sendAiChatContext = ref([]);
|
const sendAiChatContext = ref([]);
|
||||||
@@ -287,8 +288,7 @@ const getLastMessage = ((receiveId, itemType) => {
|
|||||||
if (isPublicType(itemType)) {
|
if (isPublicType(itemType)) {
|
||||||
const message = chatStore.getMsgContextFunc(itemType);
|
const message = chatStore.getMsgContextFunc(itemType);
|
||||||
return message[message.length - 1]?.content.substring(0, 15);
|
return message[message.length - 1]?.content.substring(0, 15);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
const messageContext = chatStore.personalMsgContext.filter(x => {
|
const messageContext = chatStore.personalMsgContext.filter(x => {
|
||||||
//两个条件
|
//两个条件
|
||||||
//接收用户者id为对面id(我发给他)
|
//接收用户者id为对面id(我发给他)
|
||||||
@@ -440,7 +440,7 @@ const clickCopyEvent = async function (event) {
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div style="position: absolute; top: 0;left: 0;" v-show="isShowTipNumber>0">
|
<div style="position: absolute; top: 0;left: 0;" v-show="isShowTipNumber>0">
|
||||||
<p>当前版本:2.1.0</p>
|
<p>当前版本:2.2.0</p>
|
||||||
<p>tip:官方学习交流群每次发送消息消耗 1 钱钱</p>
|
<p>tip:官方学习交流群每次发送消息消耗 1 钱钱</p>
|
||||||
<p>tip:点击聊天窗口右上角“X”可退出</p>
|
<p>tip:点击聊天窗口右上角“X”可退出</p>
|
||||||
<p>tip:多人同时在聊天室时,左侧可显示其他成员</p>
|
<p>tip:多人同时在聊天室时,左侧可显示其他成员</p>
|
||||||
@@ -1129,29 +1129,34 @@ ul {
|
|||||||
color: red;
|
color: red;
|
||||||
cursor: pointer; /* 设置鼠标悬浮为手型 */
|
cursor: pointer; /* 设置鼠标悬浮为手型 */
|
||||||
}
|
}
|
||||||
::v-deep(.katex-html)
|
|
||||||
{
|
::v-deep(.katex-html) {
|
||||||
color: #7B7C7C;
|
color: #7B7C7C;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(.nav-ul) {
|
::v-deep(.nav-ul) {
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 2px;
|
padding-right: 2px;
|
||||||
|
|
||||||
.nav-li {
|
.nav-li {
|
||||||
margin: 1.0px 0;
|
margin: 1.0px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-msg-common ::v-deep(ul) {
|
.content-msg-common ::v-deep(ul) {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-msg-common ::v-deep(ol) {
|
.content-msg-common ::v-deep(ol) {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(.katex) {
|
::v-deep(.katex) {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -1163,5 +1168,4 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user