Help us shape the future of Go! Take the 2026 Go Developer Survey

think

package
v1.152.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ToolNameThink = "think"

Variables

This section is empty.

Functions

func CreateToolSet added in v1.60.0

func CreateToolSet() (tools.ToolSet, error)

CreateToolSet is used by the tools registry.

Types

type Args

type Args struct {
	Thought string `json:"thought" jsonschema:"The thought to think about"`
}

type ToolSet added in v1.60.0

type ToolSet struct {
	// contains filtered or unexported fields
}

ToolSet has nonzero size so distinct instances have distinct pointer identities.

func New added in v1.60.0

func New() *ToolSet

func (*ToolSet) Instructions added in v1.60.0

func (t *ToolSet) Instructions() string

func (*ToolSet) Tools added in v1.60.0

func (t *ToolSet) Tools(context.Context) ([]tools.Tool, error)

Jump to

Keyboard shortcuts

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