返回 DeepSeek-Reasonix
message_origin.go
根目录 / internal / provider / message_origin.go
1 package provider
2
3 // MessageOrigin records who authored a persisted user-role message. The field
4 // is host-local provenance: provider projections remove it before serialization.
5 // Empty means a legacy session whose origin must be inferred conservatively.
6 type MessageOrigin string
7
8 const (
9 MessageOriginUser MessageOrigin = "user"
10 MessageOriginHost MessageOrigin = "host"
11 )
12
12 lines GO