mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-05-03 14:31:29 +08:00
feat: 发布v3.5版本
This commit is contained in:
@@ -12,7 +12,7 @@ import { getSelectableTokenInfo } from '@/api';
|
||||
import { useUserStore } from '@/stores/modules/user';
|
||||
import { useAgentSessionStore } from '@/stores/modules/agentSession';
|
||||
import { getUserProfilePicture } from '@/utils/user.ts';
|
||||
import YMarkdown from '@/vue-element-plus-y/components/XMarkdown/index.vue';
|
||||
import MarkedMarkdown from '@/components/MarkedMarkdown/index.vue';
|
||||
import agentAvatar from '@/assets/images/czld.png';
|
||||
import '@/styles/github-markdown.css';
|
||||
import '@/styles/yixin-markdown.scss';
|
||||
@@ -547,12 +547,10 @@ function cancelSSE() {
|
||||
</template>
|
||||
|
||||
<template #content="{ item }">
|
||||
<YMarkdown
|
||||
<MarkedMarkdown
|
||||
v-if="item.content && (item.role === 'assistant' || item.role === 'system')"
|
||||
class="markdown-body"
|
||||
:markdown="item.content"
|
||||
:themes="{ light: 'github-light', dark: 'github-dark' }"
|
||||
default-theme-mode="dark"
|
||||
:content="item.content"
|
||||
/>
|
||||
<div v-if="item.role === 'user'" class="user-content">
|
||||
{{ item.content }}
|
||||
|
||||
Reference in New Issue
Block a user