Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterInvalidHistoryMessages ¶
func FilterInvalidHistoryMessages(history []protocoltypes.Message) []protocoltypes.Message
FilterInvalidHistoryMessages removes invalid persisted history records such as transient assistant thought-only messages.
func IsTransientAssistantThoughtMessage ¶
func IsTransientAssistantThoughtMessage(msg protocoltypes.Message) bool
IsTransientAssistantThoughtMessage reports whether msg is an invalid reasoning-only assistant history record. These "hanging" thought messages are not a canonical persisted format and should be discarded instead of replayed or reconstructed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.