pub async fn rollback_agent_handler(
__arg0: State<AppState>,
__arg1: Path<(String, String)>,
) -> Result<Json<Value>>Available on crate feature
postgres only.Expand description
POST /api/admin/agents/{agent_id}/rollback/{version} Restore a TOON agent to a specific previously-recorded version. Hot-swaps the in-memory config; writes a new “rollback” row to agent_config_versions.