agents.planning.plan_execute_v3.config

Configuration for Plan-and-Execute V3 Agent.

This module defines configuration options for the Plan-and-Execute V3 agent.

Classes

PlanExecuteV3Config

Configuration for Plan-and-Execute V3 agent.

Module Contents

class agents.planning.plan_execute_v3.config.PlanExecuteV3Config(/, **data)

Bases: pydantic.BaseModel

Configuration for Plan-and-Execute V3 agent.

Parameters:

data (Any)

max_steps

Maximum number of steps allowed in a plan

max_retries

Maximum retry attempts per step

timeout_per_step

Timeout in seconds for each step

parallel_execution

Enable parallel step execution

validate_plan

Validate plan before execution

replan_on_failure

Automatically replan on execution failure

enable_monitoring

Enable execution monitoring

max_replanning_attempts

Maximum replanning attempts

verbose

Enable verbose logging

save_execution_history

Save execution history to state

step_result_in_context

Store step results in shared context

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

get_execution_temperature(default)

Get execution temperature or use default.

Parameters:

default (float)

Return type:

float

get_planning_temperature(default)

Get planning temperature or use default.

Parameters:

default (float)

Return type:

float

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].