feat: 集成 KieAI 服务,移除 models-integration 子项目
- 添加 Gemini 2.5 Flash 对话接口(流式+非流式) - 添加 NanoBanana 图像生成/编辑接口 - 添加 Sora2 视频生成接口(文生视频、图生视频、去水印) - 移除 models-integration 子项目(功能已迁移至主后端) - 新增测试文档和 Playwright E2E 配置 - 更新前端页面和 API 接口 - 更新后端配置和日志处理
This commit is contained in:
32
msh_single_uniapp/.fixes/completed/FIX-002/README.md
Normal file
32
msh_single_uniapp/.fixes/completed/FIX-002/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# FIX-002: 添加清空对话按钮
|
||||
|
||||
**状态: 已完成
|
||||
**创建时间**: 2026-02-28
|
||||
**优先级**: 中
|
||||
**负责人**: msh-agent
|
||||
|
||||
---
|
||||
|
||||
## 问题描述
|
||||
|
||||
`clearChat()` 方法已实现(清空消息列表和会话ID),但在模板中没有对应的触发按钮,用户无法清空对话。
|
||||
|
||||
### 预期行为
|
||||
在页面顶部导航栏或输入区域提供"清空对话"按钮。
|
||||
|
||||
---
|
||||
|
||||
## 修复方案
|
||||
|
||||
在 `promo-banner` 右侧添加清空按钮图标,绑定 `@click="clearChat"`。
|
||||
|
||||
---
|
||||
|
||||
## 实施步骤
|
||||
|
||||
- [ ] 1. 备份原文件
|
||||
- [ ] 2. 在 `promo-banner` 区域添加清空按钮
|
||||
- [ ] 3. 绑定 `@click="clearChat"`
|
||||
- [ ] 4. 添加样式
|
||||
- [ ] 5. 测试确认对话框
|
||||
- [ ] 6. 多端测试
|
||||
Reference in New Issue
Block a user