Interface RunCommandDetector


public interface RunCommandDetector
Agent that examines the workspace files to determine the shell command needed to run the laboratory work.
  • Method Details

    • detectRunCommand

      String detectRunCommand(String workDir, String lang)
    • create

      static RunCommandDetector create(dev.langchain4j.model.chat.ChatModel chatModel, SourceCodeReader sourceCodeReader)
      Creates a new instance of RunCommandDetector.
      Parameters:
      chatModel - language model to use
      sourceCodeReader - tool for reading source files
      Returns:
      constructed agent instance