Commit Graph

8 Commits

Author SHA1 Message Date
4646fbc9b5 feat: 集成 KieAI Grok 模型,支持 field103 配置切换视频生成模型
- 新增 ToolGrokService 接口和 ToolGrokServiceImpl 实现
- 对接 https://kie.ai/grok-imagine 文生视频和图生视频接口
- 新增 KieAIConfig.grokBaseUrl 配置项
- 修改 KieAIController,根据 system_config.field103 自动切换 Sora/Grok
- 原有 /text-to-video 和 /image-to-video 接口支持自动模型选择
- 新增 /grok/text-to-video 和 /grok/image-to-video 专用接口

配置说明:
- eb_system_config.name=field103, value=grok 时使用 Grok
- value=sora 或空时使用 Sora(默认)
2026-03-03 16:21:07 +08:00
4be53dcd1b feat: 集成 KieAI 服务,移除 models-integration 子项目
- 添加 Gemini 2.5 Flash 对话接口(流式+非流式)
- 添加 NanoBanana 图像生成/编辑接口
- 添加 Sora2 视频生成接口(文生视频、图生视频、去水印)
- 移除 models-integration 子项目(功能已迁移至主后端)
- 新增测试文档和 Playwright E2E 配置
- 更新前端页面和 API 接口
- 更新后端配置和日志处理
2026-03-03 15:33:50 +08:00
1ddb051977 feat(ai-nutritionist): 图片与文字合并为一次 KieAI 多模态请求
- 后端: buildGeminiRequestBody 支持 content[] 中 Map 形式的多模态项
- 前端: sendMessage 将多图+文字合并为一条 content 数组,一次 sendToAI(multimodal)
- 仅发图时补默认文案「请描述或分析这张图片」,统一走 KieAI

Made-with: Cursor
2026-03-03 00:36:28 +08:00
51d2016988 fix(kieai): Gemini 读超时 90s + 响应 UTF-8 解码,解决 Read timed out 与中文乱码
Made-with: Cursor
2026-03-03 00:25:52 +08:00
8ba027b194 FIX-001: 移除 AI 营养师页面初始假数据
- 将 messageList 初始值从示例消息改为空数组 []
- 保留 welcomeMessage 和页面其他功能
- 用户首次进入时只显示欢迎语,无假对话记录

Fixes: FIX-001-remove-fake-data
2026-02-28 21:12:03 +08:00
aae96b15be Add automation rules and cron configuration
- Add Rule 1: All coding work must use Cursor CLI with agent login
- Add Rule 2: Automated fix task checking (5min progress check, 30min auto-start)
- Configure cron jobs in ~/.openclaw/cron/jobs.json
- Add check-progress.sh script for manual/automated checks
- Update AGENTS.md with mandatory task execution rules
- Update .fixes/README.md with automation documentation

Rules:
1. Coding tasks -> Cursor CLI (agent --model auto --trust)
2. Every 5min -> Check progress
3. Every 30min -> Auto-start next fix task
2026-02-28 07:05:40 +08:00
6122f94818 Add automated fix workflow for AI nutritionist page
- Create .fixes/ directory structure for tracking repairs
- Add FIX-001 to FIX-009 repair tasks based on Cursor review
- Add automation scripts (start-fix.sh, complete-fix.sh)
- Update HEARTBEAT.md with repair checklist
- Create AUTOMATION_PLAN.md with workflow documentation

Fixes address:
- Remove fake initial data
- Add clear chat button
- Split oversized component
- Optimize multi-image upload
- Fix scroll behavior
- Remove dead code
- Extract hardcoded config
2026-02-28 06:56:43 +08:00
14d29d51c0 Initial commit: MSH System\n\n- msh_single_uniapp: Vue 2 + UniApp 前端(微信小程序/H5/App/支付宝小程序)\n- msh_crmeb_22: Spring Boot 2.2 后端(C端API/管理端/业务逻辑)\n- models-integration: AI服务集成(Coze/KieAI/腾讯ASR)\n- docs: 产品文档与设计稿 2026-02-28 05:40:21 +08:00