Commit Graph

122 Commits

Author SHA1 Message Date
3680ab0efd refactor(tik): 重构 Dify 服务实现,提取重复逻辑为私有方法
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
- 将聊天、改写、对标分析、提示词分析四个流式方法中的积分处理逻辑提取为通用私有方法
- 新增 `handlePointsDeduction`、`handlePointsCancellation`、`handleUserCancellation` 方法处理积分扣减、取消和用户取消场景
- 新增 `buildDoneMono` 方法统一构建流结束事件
- 新增 `resolveSystemPrompt` 方法处理系统提示词解析逻辑
- 简化方法实现,移除重复代码,提高代码可维护性
- 统一日志前缀使用,增强日志可读性
- 删除未使用的 `Consumer` 导入
2026-03-22 20:32:45 +08:00
e437ed699e feat(agents): 优化聊天历史面板和复制功能
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
- 为聊天历史面板添加加载更多功能,支持分页加载会话列表
- 优化会话列表按时间降序排序和日期分组逻辑
- 统一复制功能使用工具函数,改进错误处理
- 修复兑换码管理菜单路径缺少斜杠的问题
- 优化Dify服务用户标识生成,按agentId隔离会话
- 重构Dify服务扣费逻辑,提取通用处理方法
2026-03-22 20:24:30 +08:00
f8094b40b7 feat: update UI components and add benchmark analysis feature
- Disable close button in Toaster notifications
- Add padding to TopNav header and UserDropdown username span
- Import vue-sonner CSS for toast notifications
- Update Agents page header with gradient background
- Add benchmark_analyze business type to Profile view
- Replace storage space stat card with redeem code functionality
- Reorder profile statistics cards and update their content
2026-03-18 22:30:39 +08:00
69e96412ff 优化 2026-03-17 23:41:49 +08:00
1da5d283a9 feat: enhance prompt selector with category tags and improve benchmark task processing
Add visual indicators for prompt categories and source types in the prompt selector component, and refactor benchmark task execution to use Dify streaming analysis with proper error handling and text extraction from Alibaba Cloud transcription results.
2026-03-15 21:38:14 +08:00
beea8b45b9 Merge branch 'main' of http://8.155.172.147:3001/sion/sionrui 2026-03-15 15:37:35 +08:00
7b18bde0e8 feat: 优化 2026-03-15 15:37:32 +08:00
4ab1efbc12 feat: 功能优化 2026-03-15 15:36:29 +08:00
8c5ab8eac4 feat: 优化 2026-03-12 23:56:47 +08:00
4317053270 优化 2026-03-11 00:50:38 +08:00
a12cb5e75a 优化 2026-03-11 00:42:46 +08:00
a125b5922f 修复 2026-03-08 16:35:17 +08:00
69835ae990 feat: 优化 2026-03-08 13:55:10 +08:00
2aa459889a feat: 优化 2026-03-07 23:39:57 +08:00
f3c2bae6bf 优化 2026-03-07 17:29:22 +08:00
c2e2a64416 优化 2026-03-07 16:48:59 +08:00
5a5af706e5 feat: 优化 2026-03-07 15:52:56 +08:00
09b7862971 feat: 优化 2026-03-07 15:49:46 +08:00
52a1094144 feat(kling): add validation error display in timeline panel and update UI components
- Remove unused audio base64 reference and error message in VoiceSelector
- Rename CSS class from 'result-banner' to 'result-inline' and update button styling
- Pass validationError prop from GenerateStep to TimelinePanel
- Add validation error display in TimelinePanel with error state styling
- Update conditional rendering to show either validation error or duration diff
- Add CloseCircleOutlined icon for error status display
2026-03-05 23:43:27 +08:00
dff90abbb4 feat: 功能 2026-03-05 23:21:00 +08:00
9b132082d2 优化 2026-03-05 22:58:31 +08:00
e046335900 feat:优化 2026-03-05 21:22:27 +08:00
c07a61c424 优化 2026-03-05 21:01:34 +08:00
27d1c53b49 feat(material): remove video cover extraction and simplify upload API
- Remove extractVideoCoverOptional function and related video cover processing
- Update MaterialService.uploadFile method signature to remove coverBase64 parameter
- Simplify uploadAndIdentifyVideo function by removing cover generation logic
- Remove loading indicator from VideoSelector component during video preview
- Add presignGetUrlWithProcess method to FileClient interface for processed file URLs
- Add logging support to S3FileClient implementation
2026-03-04 22:37:31 +08:00
07579e27e9 feat: 优化 2026-03-04 20:38:35 +08:00
e725335a6f feat: 修复 2026-03-04 19:47:47 +08:00
2d7ba035ca 修复 2026-03-04 19:00:06 +08:00
af0b0c5070 优化 2026-03-04 04:01:48 +08:00
16043dd52e 优化 2026-03-04 03:54:54 +08:00
b5ec2bf3d0 优化 2026-03-04 03:29:51 +08:00
0d85a43082 优化 2026-03-04 03:27:16 +08:00
f03dc678cf feat: 优化 2026-03-04 02:26:53 +08:00
7f5d9d9f19 feat: 优化 2026-03-04 02:13:16 +08:00
b0fa4279b0 feat: 优化 2026-03-03 04:16:48 +08:00
93d4a0d506 优化 2026-03-02 03:19:51 +08:00
668515a451 feat: 优化 2026-03-02 01:32:02 +08:00
ce3d529f80 feat: 优化 2026-03-02 01:28:46 +08:00
be427ca931 修复问题 2026-03-01 20:44:29 +08:00
00d60b78c4 优化 2026-03-01 17:10:41 +08:00
3bbb28677b feat(point-record): add status filter for point record queries
- Change API endpoint from APP_MEMBER to APP_TIK for point record requests
- Add status parameter to filter only confirmed records in frontend
- Update fetchPointRecords function to pass status: 'confirmed' by default
- Modify handleTableChange function signature to accept page and pageSize directly
- Add new business type mappings for AI-related services (dify_chat, voice_tts, tikhub_fetch, forecast_rewrite)
- Remove redundant reason display and status tag from record items
- Add status field to backend query conditions in PointRecordMapper
- Include status parameter in PointRecordPageReqVO with proper schema documentation
2026-02-26 21:41:55 +08:00
72fa2c63a1 feat: 优化 2026-02-26 20:27:41 +08:00
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
b76e3ff47d feat: 优化 2026-02-26 18:52:09 +08:00
79a5c1f3ed feat: 配额优化 2026-02-25 21:30:24 +08:00
2e93211697 dify历史记录 2026-02-25 18:21:25 +08:00
0efca50be3 语音优化 2026-02-25 16:28:31 +08:00
420f78b2cf 优化 2026-02-25 02:11:04 +08:00
7285534405 feat: 热点改进 2026-02-25 01:24:57 +08:00
cfaf8cab49 feat: 优化 2026-02-24 23:58:17 +08:00