WorkspaceConfigSupport

org.llm4s.codegen.WorkspaceConfigSupport

PureConfig-based loader for workspace settings.

This mirrors the behavior of WorkspaceSettings.load(), but is implemented in terms of llm4s.* HOCON keys and the standard PureConfig flow.

Keys (with precedence):

  • llm4s.workspace.dir | WORKSPACE_DIR
  • llm4s.workspace.image | WORKSPACE_IMAGE
  • llm4s.workspace.port | WORKSPACE_PORT
  • llm4s.workspace.traceLogPath | WORKSPACE_TRACE_LOG

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def load(source: ConfigSource): Result[WorkspaceSettings]

Value parameters

source

PureConfig source; defaults to ConfigSource.default.

Attributes

def loadSandboxConfig(source: ConfigSource): Result[WorkspaceSandboxConfig]

Load sandbox config from llm4s.workspace.sandbox.profile or use default. Validates config; returns Left on validation failure.

Load sandbox config from llm4s.workspace.sandbox.profile or use default. Validates config; returns Left on validation failure.

Value parameters

source

PureConfig source; defaults to ConfigSource.default.

Attributes