feat: extractProactiveMessage 单元测试 + 修复 log.Printf 格式化 bug
- 7 个测试覆盖:无标记/Web推送/OBv11群聊/私聊/@提及/否定语境/继续思考 - 修复 thinker.go:454 log.Printf %%v → %v 格式化错误 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -451,7 +451,7 @@ func NewThinker(
|
||||
}
|
||||
loc, err := time.LoadLocation(tzName)
|
||||
if err != nil {
|
||||
log.Printf("[后台思考] 无效时区 '%s',回退到 Asia/Shanghai: %%v", tzName, err)
|
||||
log.Printf("[后台思考] 无效时区 '%s',回退到 Asia/Shanghai: %v", tzName, err)
|
||||
loc, _ = time.LoadLocation("Asia/Shanghai")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user