memoryweave/go/internal/api
xiaowei 7ac626e847 fix: useful_count type + revert resp.Result (use report_json)
1. Feedback端点  类型修复 (core.go)
   - 之前传 map[string]int,Update() 只处理 map[string]string/map[string]interface{}
   - int 被当作 string case 处理, 被丢弃
   - 修复: map[string]interface{}{"": 1}

2. IPC 搜索字段名 (lancedb_ipc.go)
   - Rust send_ok 用 report_json,不是 result
   - 错误改用 resp.Result 导致 IPC 结果永远为空
   - 回退到 resp.ReportJSON (这是正确的)
   - 加 Result 字段只是为了日志可见性(不被 Rust 填充)

验证: recall_count=6, useful_count=1 确认写入 LanceDB
2026-05-31 07:43:42 +08:00
..
middleware
routes fix: useful_count type + revert resp.Result (use report_json) 2026-05-31 07:43:42 +08:00
server.go fix: IPC 字段名 + recall_count 持久化 + feedback 端点 2026-05-31 07:36:31 +08:00