Files
loveuer a7dba6859b feat: support fresh IM sessions and OpenAI reasoning controls
支持 /new 清空会话或携带新问题执行,忙碌时拒绝并保留原任务状态。
修复路由会话隔离及旧摘要回写,完善 OpenAI reasoning.effort 和 temperature 处理。
补充中英文文档与测试;相关包回归、race、lint 和 Gateway 构建通过。
2026-11-11 11:26:23 +08:00

10 lines
308 B
Go

package channels
import "github.com/sipeed/picoclaw/pkg/bus"
// IsCommandReply identifies a reply that must leave the running task's
// placeholder, stream, and tool feedback messages intact.
func IsCommandReply(msg bus.OutboundMessage) bool {
return msg.Context.Raw["outbound_kind"] == "command_reply"
}