Skip to main content

read_agent_workspace_file

Function read_agent_workspace_file 

Source
pub fn read_agent_workspace_file(
    config: &Config,
    agent_alias: &str,
    raw: &str,
) -> Result<FileReadResult, BrowseError>
Expand description

Read a file from the agent’s workspace. Refuses paths that don’t resolve to a regular file; enforces the size cap.