transcript

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(msgs []types.Message) []types.Message

Compress wraps my-agent-core wiki.ReversibleCompress for transcript messages (best-effort token reduction before feeding the wiki agent).

func ToMessages

func ToMessages(raw string) ([]types.Message, error)

ToMessages converts a Hermes transcript (JSON array of {role, content}) into my-agent-core []types.Message. System and empty messages are dropped; tool-result messages carry their content in Text (no ToolName).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL