Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MaxToolIterations is the maximum number of tool execution loops to prevent infinite loops.
MaxToolIterations = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor handles non-interactive AI execution with tool support.
func NewExecutor ¶
func NewExecutor(client ai.Client, toolExecutor *tools.Executor, atmosConfig *schema.AtmosConfiguration) *Executor
NewExecutor creates a new non-interactive executor.
type Options ¶
type Options struct {
// Prompt is the user's prompt/question.
Prompt string
// ToolsEnabled indicates if tool execution is allowed.
ToolsEnabled bool
// SessionID is an optional session ID for conversation context.
SessionID string
// IncludeContext includes stack context in the prompt.
IncludeContext bool
}
Options contains execution options.
Click to show internal directories.
Click to hide internal directories.