output

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatChats

func FormatChats(chats []api.Chat, format Format) string

FormatChats formats a list of chats according to the specified format

func FormatMessages

func FormatMessages(messages []api.Message, format Format) string

FormatMessages formats a list of messages according to the specified format

Types

type Format

type Format string

Format defines the output format type

const (
	FormatJSON     Format = "json"
	FormatText     Format = "text"
	FormatMarkdown Format = "markdown"
)

Jump to

Keyboard shortcuts

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