sto_mount

def sto_mount(collection_name: str, root_dir: str) -> str

Source code

Description: Mount a specific directory for the filesystem

Parameters:

  • collection_name (str): Name of the collection/agent

  • root_dir (str): Root directory to mount

Returns:

  • Success message (str): "File system mounted successfully for agent: {collection_name}"

  • Error message (str): "Error mounting file system: {error_message}"

Last updated