Logo white

宜博 / lemonacp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • lemonacp
  • lifelog-recorder
  • .gitignore
  • feat(lifelog/chat): 新增「对话」tab — 本地 2B/4B + Hermes 多端点聊天 ...
    fd8e772a
    - 首页 tab 改名「录音」,新增「对话」tab(ChatGPT 式:抽屉历史 / 气泡 / 流式 / 输入框)
    - chat/ChatConfig:聊天对象 = OpenAI 兼容端点 + model;本地 2B/4B 共用一个 llama-server
      端口按 model 热切换,Hermes 走 gateway 8642;本地 baseUrl/model 名 app 内 ⚙ 可改
    - chat/ChatClient:SSE 流式逐 token,端点不支持流式时自动降级整段解析
    - 持久化到 Room:chat_conversations / chat_messages 两表,切换对象记到会话 targetId
    - data:AppDatabase 加 MIGRATION_2_3(纯增量加表),修复 fallbackToDestructiveMigration
      在 24/7 RecorderService 重装时静默清库的风险
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    yibo authored
    2026-06-04 16:51:36 +0800  
    Browse Code »
.gitignore 283 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
*.iml
.gradle
/local.properties
/.idea
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
keys.properties

# Android Studio
*.hprof

# Build outputs
**/build/

# 录音恢复备份(DB 误清后从设备抢救的原始音频,勿入库)
_recovered_segments_*/