haive.agents.reasoning_and_critique.reflexion.config¶
Optional preset configurations for the Reflexion agent.
Classes¶
Preset configuration for the Reflexion agent. |
Module Contents¶
- class haive.agents.reasoning_and_critique.reflexion.config.ReflexionConfig(/, **data)¶
Bases:
pydantic.BaseModelPreset configuration for the Reflexion agent.
Use this to create a ReflexionAgent with sensible defaults:
cfg = ReflexionConfig() agent = ReflexionAgent(**cfg.model_dump())
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)