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

@ -40,7 +40,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// 目标地址
target: 'https://lingjiapi.lvfunai.com/api',
target: 'http://www.lingji.com/api',
},
},
},