haive.agents.planning.llm_compiler.state¶

State model for the LLM Compiler agent.

Classes¶

CompilerState

State for the LLM Compiler agent.

Module Contents¶

class haive.agents.planning.llm_compiler.state.CompilerState(/, **data)¶

Bases: pydantic.BaseModel

State for the LLM Compiler agent.

Tracks query, DAG plan, execution results, messages, and replan count.

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.

Parameters:

data (Any)