org.llm4s.codegen
Members list
Type members
Classlikes
Example demonstrating how to use the CodeWorker to perform code tasks.
Example demonstrating how to use the CodeWorker to perform code tasks.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CodeGenExample.type
Represents a code task to be performed by the CodeWorker.
Represents a code task to be performed by the CodeWorker.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Represents the result of a code task execution.
Represents the result of a code task execution.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A worker for code generation and manipulation tasks. CodeWorker combines a workspace environment with an LLM agent to handle tasks involving code base understanding, modification, and generation.
A worker for code generation and manipulation tasks. CodeWorker combines a workspace environment with an LLM agent to handle tasks involving code base understanding, modification, and generation.
Value parameters
- sourceDirectory
-
The directory containing the codebase to work with
Attributes
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
PureConfig-based loader for workspace settings.
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Configuration settings for workspace environment.
Configuration settings for workspace environment.
Defines the directory, Docker image, port, and logging configuration for the containerized code workspace.
Value parameters
- hostPort
-
host port for workspace communication
- imageName
-
Docker image name for the workspace container
- traceLogPath
-
path for writing trace/log output
- workspaceDir
-
directory path containing the codebase to work with
Attributes
- See also
-
WorkspaceConfigSupport for loading settings from configuration
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion object with default workspace settings.
Companion object with default workspace settings.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
WorkspaceSettings.type