Package atessera.sensei.agents
Interface RunCommandDetector
public interface RunCommandDetector
Agent that examines the workspace files to determine the shell command needed to run the laboratory work.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RunCommandDetectorcreate(dev.langchain4j.model.chat.ChatModel chatModel, SourceCodeReader sourceCodeReader) Creates a new instance ofRunCommandDetector.detectRunCommand(String workDir, String lang)
-
Method Details
-
detectRunCommand
-
create
static RunCommandDetector create(dev.langchain4j.model.chat.ChatModel chatModel, SourceCodeReader sourceCodeReader) Creates a new instance ofRunCommandDetector.- Parameters:
chatModel- language model to usesourceCodeReader- tool for reading source files- Returns:
- constructed agent instance
-