WorkspaceSandboxBackend

org.llm4s.agent.harness.workspace.WorkspaceSandboxBackend
@Experimental

The SandboxBackend of a containerised workspace: SandboxBackend over a WorkspaceSandboxRunner.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(id: String, workspace: WorkspaceAgentInterface, maxOutputBytes: Int): Result[SandboxBackend]

The sandbox of workspace, named id in lock keys, keeping at most maxOutputBytes of each stream (in 1..SandboxBackend.MaxOutputBytes). One workspace is one tenant's: an application serving several builds one runner per tenant and picks it with SandboxBackend.resolved(_ => Set(WorkspaceLocks.AllWorkspaces)) (rule 8).

The sandbox of workspace, named id in lock keys, keeping at most maxOutputBytes of each stream (in 1..SandboxBackend.MaxOutputBytes). One workspace is one tenant's: an application serving several builds one runner per tenant and picks it with SandboxBackend.resolved(_ => Set(WorkspaceLocks.AllWorkspaces)) (rule 8).

Attributes