Skip to main content

convert_and_save

Method
This is a method of the AutoGenerator class in the auto module.
Converts the provided JSON data into the desired YAML format and saves it to a file.

Signature

Parameters

Any
required
The JSON data representing the team structure.
Any
default:"False"
Whether to merge with existing agents.yaml file instead of overwriting.

Returns

Any
The result of the operation.

Uses

  • exists
  • merge_with_existing_agents
  • yaml.dump

Used By

Source

View on GitHub

praisonai/auto.py at line 743