Skip to content

Commit 7f4de75

Browse files
committed
Turn off interactive shell mode.
1 parent 92230e2 commit 7f4de75

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/test/java/com/embabel/template/agent/WriteAndReviewAgentIntegrationTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.embabel.agent.domain.io.UserInput;
55
import com.embabel.agent.testing.integration.EmbabelMockitoIntegrationTest;
66
import org.junit.jupiter.api.Test;
7+
import org.junit.jupiter.api.BeforeAll;
78

89
import static org.junit.jupiter.api.Assertions.*;
910

@@ -14,6 +15,12 @@
1415
*/
1516
class WriteAndReviewAgentIntegrationTest extends EmbabelMockitoIntegrationTest {
1617

18+
@BeforeAll
19+
static void setUp() {
20+
// Set shell configuration to non-interactive mode
21+
System.setProperty("embabel.agent.shell.interactive.enabled", "false");
22+
}
23+
1724
@Test
1825
void shouldExecuteCompleteWorkflow() {
1926
var input = new UserInput("Write about artificial intelligence");

0 commit comments

Comments
 (0)