Commit Graph

18 Commits

Author SHA1 Message Date
yangshilin
2070a03d35 fix: 用户开始录音5s后ai反馈“我在认真听” 2026-03-16 11:24:40 +08:00
Sully
c2ce4c61f1 修复版本1.0.7的若干问题 (#11)
* fix/ 0:00 audio ui

* fix/ persist memoir image state and collapse voice history

Keep generated chapter images from staying in processing after successful uploads, and restore segmented voice recordings as a single audio message when reopening conversations.

Made-with: Cursor

* fix/ persist local conversation state and stabilize voice UI

Keep CreateMemory conversations driven by Room so recent text and audio survive page exits, and prevent stale 0:00 voice bubbles while list ordering follows the latest local message time.

Made-with: Cursor

* fix/ server-side root cause for conversation list time and message timestamps

- Add Conversation.last_message_at column with migration and index
- Update last_message_at on text message, audio segment, and AI response
- Sort conversation list by COALESCE(last_message_at, started_at) DESC
- Return real per-message timestamps from Redis history instead of now()
- Pass user_message_timestamp through agent pipeline to avoid LLM delay skew
- Remove all debug logging from server, client, and CI workflow
- Restore import json in conversation_agent (was broken by debug removal)
- Client: remove DebugRuntimeLogger, stop sending transcript as text message

Made-with: Cursor

---------

Co-authored-by: Kevin <kevin@brighteng.org>
2026-03-14 23:58:46 +08:00
yangshilin
a2b2b6eb76 fix: 语音消息暂存本地 修复显示异常 2026-03-13 17:11:59 +08:00
yangshilin
ab4fb46c0d fix: 修复打个招呼的bug 2026-03-13 14:50:04 +08:00
yangshilin
4d2c31b5a6 feat & fix: 新增打个招呼选项 创建新会话;修复ai重复性提问的问题;修复输入键盘覆盖对话气泡的问题 2026-03-11 14:48:59 +08:00
Kevin
8b9ccd4926 fix: 优化长语音上传交互并修复输入框高度跳变 2026-03-10 11:44:16 +08:00
Kevin
6ffe96d7a9 feat: 支持长语音分段上传与断线补传 2026-03-09 15:36:44 +08:00
penghanyuan
c1e2fb31a0 Merge branch 'feat/improve-agent-prompt' 2026-03-01 10:12:23 +01:00
iammm0
b3c02e1a88 refactor: 优化后端 WebSocket 路由
- 优化 api/routers/websocket.py

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 10:58:45 +08:00
iammm0
44b405d647 refactor: 优化后端支付与微信支付
- 优化payment/config.py、wechat_pay.py
- 优化routers/payment.py、plans.py、quota.py、websocket.py
- 更新main.py、.env.production

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 16:06:15 +08:00
iammm0
be3532d4b1 feat: 扩展后端WebSocket处理
- 优化api/routers/websocket.py

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 17:09:48 +08:00
iammm0
498277aac3 chore: 更新Docker配置,优化路由
- 更新docker-compose.yml
- 优化conversations.py、plans.py、quota.py、user.py、websocket.py

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 14:23:40 +08:00
iammm0
76fd7da3c9 feat: 扩展后端WebSocket和语音识别功能
- 扩展websocket.py支持语音消息
- 优化asr_service.py语音识别服务
- 更新main.py和requirements.txt
- 更新.env.production配置

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 11:29:38 +08:00
iammm0
dae4a176fd refactor: 优化后端路由功能
- 扩展books.py路由,添加新接口
- 优化websocket.py路由,增强WebSocket功能
2026-01-26 11:54:05 +08:00
penghanyuan
dbbb924625 feat: 添加Redis支持和Celery任务处理
- 新增Redis服务模块用于会话状态存储和缓存
- 集成Celery用于后台任务处理
- 更新Docker Compose配置以支持开发环境
- 优化API以支持异步调用和Redis会话存储
- 更新文档以反映新的开发环境配置和使用方法
2026-01-21 23:06:47 +01:00
penghanyuan
44bd478c1e agent init 2026-01-21 22:31:09 +01:00
徐在坤
802f5a3833 refactor: 更新API路由
- 更新books路由以支持用户认证
- 更新chapters路由以支持用户认证
- 更新conversations路由以支持用户认证
- 更新websocket路由以支持用户认证和连接管理
2026-01-18 15:57:51 +08:00
iammm0
9ca3a3a89a 添加API路由模块 2026-01-07 11:56:40 +08:00