toolresult

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Correctable added in v0.60.0

func Correctable(feedback string, cause error) error

Correctable settles an error the model caused and can fix by changing its arguments. Feedback is the model-visible text; callers choose it because a cause may carry host detail the model must not see.

func WithEvidence

func WithEvidence(operation string, response any, cause error) error

WithEvidence preserves a backend's explicit outcome or evidence before projecting its typed response. A normal backend error does not establish a final outcome, even when the response acknowledges some effects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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