Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalAssistantItem ¶
CanonicalAssistantItem returns the item-authority equivalent of CanonicalAssistantMessage. It is used for materialized-history assertions where the continuation store uses Items.
func CanonicalAssistantMessage ¶
CanonicalAssistantMessage returns the canonical assistant message whose semantic identity must equal the tagged reply identity. It is the same construction used by runtime local-turn reply tagging so that replay identity is stable across frontends.
func Events ¶
Events returns the canonical event slice for a text response without allocating a stream. Useful for ValidateEventSequence testing.
func NewTextStream ¶
func NewTextStream(text string) lipapi.EventStream
NewTextStream returns a finite canonical EventStream with exactly one assistant text response. The sequence is response_started, message_started, text_delta, response_finished. It emits no usage, no B-leg identity, no background goroutine, and respects context cancellation via lipapi.FixedEventStream. The stream is valid for both streaming and non-streaming collection via lipapi.Collect.
Types ¶
This section is empty.