WorkspaceProtocol

org.llm4s.shared.WorkspaceProtocol

The version of the protocol between ContainerisedWorkspace and the workspace runner (#3063).

Bumped whenever a message, a command or a response changes in a way the other side cannot read, or would read wrongly. The client asks the runner for its version (GetWorkspaceInfoResponse.protocolVersion) as soon as it has connected, and stops a runner that speaks another one, so a mismatched image fails at once, naming both versions, rather than on the first command the older side cannot parse.

Attributes

Source
WorkspaceAgentProtocol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val Version: Int

This build's protocol version. 0 is a runner that predates the version (llm4s 1.0); 1 adds the version itself, the runner's answer to a message it cannot parse naming the command it was, and the sandbox config's readExecPaths, inheritedVariables and maxConcurrentCommands.

This build's protocol version. 0 is a runner that predates the version (llm4s 1.0); 1 adds the version itself, the runner's answer to a message it cannot parse naming the command it was, and the sandbox config's readExecPaths, inheritedVariables and maxConcurrentCommands.

Attributes

Source
WorkspaceAgentProtocol.scala