Commit Graph

10 Commits

Author SHA1 Message Date
dzq 8b5814ecef 整理 2026-01-05 17:29:26 +08:00
dengquanzhang 00aa1e0d3d 添加会话管理 2025-12-21 23:16:49 +08:00
dzq b9d7f495ad feat(llm-chat): 实现流式API响应和打字机效果
添加流式API调用功能,替换原有的模拟响应。实现以下功能:
1. 使用SSE连接处理AI响应
2. 添加打字机效果逐字显示AI回复
3. 增加错误处理和连接管理
4. 移除未使用的Vant组件声明
2025-12-19 18:02:31 +08:00
dzq 935c662203 feat(agent): 添加流式对话API实现
实现基于SSE的流式对话接口,支持消息发送和回调处理
添加@microsoft/fetch-event-source依赖
2025-12-19 17:19:11 +08:00
dzq e60dac31fd refactor: 移除vite-plugin-vue-devtools及相关依赖
- 从package.json和pnpm-lock.yaml中移除vite-plugin-vue-devtools
- 更新README文档,移除相关插件说明
- 清理构建配置文件中相关插件代码
- 调整聊天输入组件按钮样式
- 移除示例聊天数据
2025-12-19 17:03:54 +08:00
dzq 4d45c95270 pnpm 2025-12-19 10:09:55 +08:00
dzq 118d10208b refactor: remove i18n dependency and hardcode strings in components
- Updated ChatInput.vue to remove i18n and handle model value updates directly.
- Refactored NavBar.vue to use a static title map instead of i18n.
- Simplified TabBar.vue by replacing i18n calls with hardcoded titles.
- Removed i18n usage in various pages (charts, counter, forgot-password, index, keepalive, llm-chat, login, mock, profile, register, scroll-cache, settings, unocss).
- Deleted localization files (en-US.json, zh-CN.json) and i18n utility functions.
- Updated constants to provide static app name and description.
- Adjusted page titles in set-page-title.ts to use static names.
- Cleaned up TypeScript types by removing unused i18n types.
2025-12-19 10:09:47 +08:00
dengquanzhang 3f8689f7ad 新增AI聊天界面,包括消息气泡、输入组件、聊天页面和类型定义 2025-12-18 01:00:25 +08:00
dzq 0cff0fda69 Refactor code structure for improved readability and maintainability 2025-12-17 17:34:35 +08:00
dzq 9edd33b062 init 2025-12-17 16:49:16 +08:00