feat: 优化情景切换功能 #172

Merged
cfy777 merged 3 commits from feat/tokentime into develop 2026-06-20 23:26:29 +08:00
Owner
No description provided.
cfy777 added 3 commits 2026-06-20 23:26:24 +08:00
修复了用户关闭摄像头后,使用文本输入时 AI 仍会分析黑色画面的问题。

变更:
- sendTextMessage: 只在摄像头开启时捕获画面
- 待发消息队列: 根据摄像头状态决定是否携带画面

效果:
- 摄像头关闭时纯文本对话,不提及画面
- 节省 token 消耗和网络带宽

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cfy777 merged commit 7ee6918015 into develop 2026-06-20 23:26:29 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: XEngineers/CamTalk#172