trace

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolCallTrace

type ToolCallTrace struct {
	ToolName string         `json:"tool_name"`
	Args     map[string]any `json:"args"`
	Result   string         `json:"result"`
	IsError  bool           `json:"is_error"`
}

type Trajectory

type Trajectory struct {
	Timestamp time.Time       `json:"timestamp"`
	Code      string          `json:"code"`
	ToolCalls []ToolCallTrace `json:"tool_calls"`
	Output    string          `json:"output"`
	Error     string          `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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