factor_agent.config.RoleConfig#

class RoleConfig(backend, model, options)[source]#

Bases: object

One role’s LLM: the backend name, the model and the backend’s own settings.

Methods#

RoleConfig.from_dict

Split role's YAML mapping into the backend, the model and the rest.

RoleConfig.spec

The dict make_backend takes.

Attributes#

RoleConfig.backend#
RoleConfig.model#
RoleConfig.options#