agents.reasoning_and_critique.self_discover.adapter.modelsΒΆ

Models for the Self-Discover Adapter Agent.

ClassesΒΆ

AdaptedModule

A reasoning module adapted for the specific task.

AdaptedModules

Collection of task-adapted reasoning modules.

Module ContentsΒΆ

class agents.reasoning_and_critique.self_discover.adapter.models.AdaptedModule(/, **data)ΒΆ

Bases: pydantic.BaseModel

A reasoning module adapted for the specific task.

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)

class agents.reasoning_and_critique.self_discover.adapter.models.AdaptedModules(/, **data)ΒΆ

Bases: pydantic.BaseModel

Collection of task-adapted reasoning modules.

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)