refactor(Agent/Chat): 使用 cozeInfo 替代 botId 获取聊天记录

- 移除了 HistoryChat 组件中的 botId属性
- 使用 cozeInfo.bot_id 替代 botId 获取历史聊天数据
This commit is contained in:
林志军
2025-07-24 19:07:46 +08:00
parent 3c9be781a6
commit 9fa28c76cc
20 changed files with 3470 additions and 652 deletions

View File

@ -0,0 +1,57 @@
.chat-wrap {
.chat-contain {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #2c3e50;
margin-top: 24px;
.span-back {
color: var(--Text-2, #3C4043);
font-size: 14px;
font-family: Alibaba PuHuiTi;
font-weight: 400;
line-height: 62px;
word-wrap: break-word
}
}
.span-back {
color: var(--Text-2, #3C4043);
font-size: 14px;
font-family: Alibaba PuHuiTi;
line-height: 22px;
word-wrap: break-word
}
.content-container {
width: 40%;
background-color: #fff;
}
.work-res-span {
padding: 24px;
line-height: 34px;
}
.layout-sider {
border-radius: 6px;
margin-left: 20px;
}
.spin-center {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.work-res {
line-height: 26px;
font-size: 15px;
padding: 20px;
}
}