pub fn save_session_with_agents(
colony: &Colony,
path: &Path,
files_indexed: &[String],
agents: &[SerializedAgent],
) -> Result<()>Expand description
Save the colony’s knowledge graph and agent state to a JSON file.
§Arguments
colony- The colony to savepath- Path to the output JSON filefiles_indexed- List of files that were indexedagents- Serialized agent states (use SerializableAgent::export_state())