Commit Graph

5 Commits

Author SHA1 Message Date
2d96e8ca4e refactor(agent): 优化收藏功能代码实现
- 前端移除未使用的 ArrowRightOutlined 导入
- 优化智能体列表排序逻辑,避免修改原数组
- 后端使用 Stream API 简化收藏智能体 ID 获取逻辑
2026-02-26 20:17:00 +08:00
d429dc887a feat: add agent favorite functionality with UI and API implementation
- Add `addFavorite` and `removeFavorite` API functions in agent.js
- Implement favorite button UI in Agents.vue with star icons
- Add login check before favorite operations using token manager
- Sort agents with favorites appearing at the top of the list
- Include success/error messages for user feedback
- Add backend API endpoints for creating/deleting agent favorites
- Update agent list response to include favorite status
- Style favorite button with hover and active states
2026-02-26 20:15:24 +08:00
2e93211697 dify历史记录 2026-02-25 18:21:25 +08:00
c8598d3dea 优化 2026-02-23 01:04:00 +08:00
ff11f04b43 feat: 优化 2026-02-22 21:36:47 +08:00