tools

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToolFromType

func GetToolFromType(toolType agent_enums.ToolType, options Options) (tools.Tool, error)

func GetToolWrappedOnAgent

func GetToolWrappedOnAgent(agentTools []tools.Tool, agentID, agentName, agentGoal, agentBackstory, llm, llmVersion string,
	logsWriter io.Writer, handler callbacks.Handler) tools.Tool

Types

type Options

type Options struct {
	Parameters       map[string]interface{}
	LogsWriter       io.Writer
	CallbacksHandler callbacks.Handler
	DebugOpenAICalls bool
}

Jump to

Keyboard shortcuts

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