content

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audio

type Audio struct {
	MIMEType string
	Data     []byte
}

type Content

type Content interface {
	// contains filtered or unexported methods
}

type Embedded

type Embedded struct {
	URI      string
	MIMEType string
	Text     string
	Blob     []byte
}

type Image

type Image struct {
	MIMEType string
	Data     []byte
	Source   any
}
type Link struct {
	URI      string
	MIMEType string
}

type Reasoning

type Reasoning struct {
	Summary []any
}

type Text

type Text struct {
	Body string
}

type Thinking

type Thinking struct {
	Body string
}

type ToolResult

type ToolResult struct {
	ToolUseID string
	Items     []Content
}

type ToolUse

type ToolUse struct {
	ID    string
	Name  string
	Input any
}

Jump to

Keyboard shortcuts

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