Files
moteva/server/internal/domain/design/memory.go
T

13 lines
222 B
Go
Raw 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) == ""
}