This repository has been archived on 2026-08-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
AskaEth
7f2961e63e
feat: IoT 知识库 + 设备查询控制方式改造
- cyrene_persona.yaml: 新增 smart_home 配置段,定义全屋智能家居知识库、设备能力、房间布局和控制规则
- loader.go: 新增 SmartHomeConfig/RoomConfig/DeviceConfig 结构体解析 YAML
- injector.go: BuildSystemPrompt 自动注入智能家居知识库和控制规则
- 新增 buildSmartHomeKB() 和 buildControlRules() 方法
- 新增 joinStrings() 辅助函数
- main.go: 移除 shouldQueryIoT 关键词门控,始终注入 IoT 设备状态到上下文
- 移除未使用的 strings 导入
- IoTStatusBar.tsx: 对所有用户开放 IoT 状态面板(而非仅 dev 模式)
2026-05-16 22:23:12 +08:00
..
2026-05-15 20:10:35 +08:00
2026-05-16 22:23:12 +08:00
2026-05-16 10:49:43 +08:00
2026-05-15 20:10:35 +08:00