factor_agent.config.CampaignConfig.templates#
- CampaignConfig.templates(files=None, picked_parents=None)[source]#
The prompt templates: the built-in ones, those
filesreplace read from their files.filesare the config’s own by default, or a run snapshot’s copies. With picked parents (round.picked_parentsby default) a replaced plan template must list the picked slots ({picked}).- Raises:
- PromptError
With every problem of the replacing files.