fix: 完成系统向智能体数据链路切换

- 切换工作台、聊天历史、资源候选与公共调用到 Agent

- 加固资源绑定、删除保护及发布运行并发控制

- 隔离旧 Bot 专属服务和组件并保留兼容入口
This commit is contained in:
2026-07-31 14:24:15 +08:00
parent f0aba1eddd
commit f872eac1f9
114 changed files with 5997 additions and 874 deletions

View File

@@ -28,7 +28,8 @@ import ShowJson from '#/components/json/ShowJson.vue';
interface Props {
allowRegenerate?: boolean;
allowVariantSwitch?: boolean;
bot: any;
assistant?: any;
bot?: any;
messages: ChatTimeTimelineItem[];
regenerateDisabled?: boolean;
switchingRoundIds?: string[];
@@ -54,7 +55,7 @@ const emit = defineEmits<{
}>();
function getAssistantAvatar() {
return props.bot.icon || defaultAssistantAvatar;
return props.assistant?.icon || props.bot?.icon || defaultAssistantAvatar;
}
function getUserAvatar() {
return store.userInfo?.avatar || defaultUserAvatar;

View File

@@ -1,3 +1,3 @@
export { default as ChatBubbleList } from './bubbleList.vue';
export { default as ChatBubbleList } from '../chat-timeline/ChatBubbleList.vue';
export { default as ChatContainer } from './container.vue';
export { default as ChatSender } from './sender.vue';