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

agentopts

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package agentopts shares internal run options between agents and middleware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionlessHistory

type SessionlessHistory struct{}

SessionlessHistory lets middleware retain history across its own iterations when the caller omitted a session and the agent uses default history.

func (SessionlessHistory) MAFValue

func (o SessionlessHistory) MAFValue() any

MAFValue implements agent.Option without depending on the agent package.

Jump to

Keyboard shortcuts

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