Files

13 lines
222 B
Go
Raw Permalink Normal View History

package design
import "strings"
type AgentMemory struct {
ShortTerm string
LongTerm string
}
func (m AgentMemory) IsZero() bool {
return strings.TrimSpace(m.ShortTerm) == "" && strings.TrimSpace(m.LongTerm) == ""
}