Merge With Existing Agents • AI Agents Framework
merge_with_existing_agents: Merge existing agents.yaml with new auto-generated agents.
merge_with_existing_agents
Method
</div>
This is a method of the AutoGenerator class in the auto module.
Merge existing agents.yaml with new auto-generated agents.
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: merge_with_existing_agents"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffSignature
def merge_with_existing_agents(new_json_data: Any) -> AnyParameters
ParamField
AnyThe JSON data representing the new team structure.
Returns
ResponseField
AnyThe merged YAML data structure.
Uses
logger.warningMergeConflictError
Used By
Source
View on GitHubpraisonai/auto.py at line 1364