org.llm4s.workspace

Members list

Type members

Classlikes

class ContainerisedWorkspace(val workspaceDir: String, val imageName: String, val hostPort: Int) extends WorkspaceAgentInterface

WebSocket-based implementation of ContainerisedWorkspace that communicates with the workspace runner via WebSocket instead of HTTP.

WebSocket-based implementation of ContainerisedWorkspace that communicates with the workspace runner via WebSocket instead of HTTP.

This solves the threading issues of the HTTP version by:

  • Using asynchronous WebSocket communication
  • Implementing heartbeats over the same connection
  • Supporting real-time streaming of command output
  • Eliminating thread pool blocking during long commands

Attributes

Supertypes
class Object
trait Matchable
class Any