fix(chat): 移除对话头部用户信息展示
This commit is contained in:
parent
828aad787e
commit
911c674545
@ -12,7 +12,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="header__right">
|
<div class="header__right">
|
||||||
<UserInfoComponent v-if="!userStore.isAdmin" />
|
|
||||||
<!-- AgentState 显示按钮已移动到输入框底部 -->
|
<!-- AgentState 显示按钮已移动到输入框底部 -->
|
||||||
<slot name="header-right"></slot>
|
<slot name="header-right"></slot>
|
||||||
</div>
|
</div>
|
||||||
@ -247,7 +246,6 @@ import { AgentValidator } from '@/utils/agentValidator'
|
|||||||
import { useAgentStore } from '@/stores/agent'
|
import { useAgentStore } from '@/stores/agent'
|
||||||
import { useChatThreadsStore } from '@/stores/chatThreads'
|
import { useChatThreadsStore } from '@/stores/chatThreads'
|
||||||
import { useChatUIStore } from '@/stores/chatUI'
|
import { useChatUIStore } from '@/stores/chatUI'
|
||||||
import { useUserStore } from '@/stores/user'
|
|
||||||
import { useConfigStore } from '@/stores/config'
|
import { useConfigStore } from '@/stores/config'
|
||||||
import { storeToRefs } from 'pinia'
|
import { storeToRefs } from 'pinia'
|
||||||
import { MessageProcessor } from '@/utils/messageProcessor'
|
import { MessageProcessor } from '@/utils/messageProcessor'
|
||||||
@ -263,7 +261,6 @@ import { useAgentMentionConfig } from '@/composables/useAgentMentionConfig'
|
|||||||
import { shouldAutoOpenAgentPanel } from '@/utils/agentPanelAutoOpen'
|
import { shouldAutoOpenAgentPanel } from '@/utils/agentPanelAutoOpen'
|
||||||
import AgentArtifactsCard from '@/components/AgentArtifactsCard.vue'
|
import AgentArtifactsCard from '@/components/AgentArtifactsCard.vue'
|
||||||
import AgentPanel from '@/components/AgentPanel.vue'
|
import AgentPanel from '@/components/AgentPanel.vue'
|
||||||
import UserInfoComponent from '@/components/UserInfoComponent.vue'
|
|
||||||
|
|
||||||
// ==================== PROPS & EMITS ====================
|
// ==================== PROPS & EMITS ====================
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -276,7 +273,6 @@ const emit = defineEmits(['thread-change'])
|
|||||||
const agentStore = useAgentStore()
|
const agentStore = useAgentStore()
|
||||||
const chatThreadsStore = useChatThreadsStore()
|
const chatThreadsStore = useChatThreadsStore()
|
||||||
const chatUIStore = useChatUIStore()
|
const chatUIStore = useChatUIStore()
|
||||||
const userStore = useUserStore()
|
|
||||||
const configStore = useConfigStore()
|
const configStore = useConfigStore()
|
||||||
const {
|
const {
|
||||||
agents,
|
agents,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user