File tree Expand file tree Collapse file tree
src/main/java/com/embabel/template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ Illustrates:
3434Run the shell script to start Embabel under Spring Shell:
3535
3636``` bash
37- /scripts/shell.sh
37+ cd scripts
38+ ./shell.sh
3839```
3940
4041There is a single example agent, ` WriteAndReviewAgent ` .
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33export AGENT_APPLICATION=..
4- export SPRING_PROFILES_ACTIVE=shell,severance
54
6- ./support/agent.sh
5+ # export MAVE_PROFILE=enable-mcp
6+
7+ ./support/check_env.sh
8+
9+ cd ..
10+ mvn -Dmaven.test.skip=true spring-boot:run
Original file line number Diff line number Diff line change 1515 */
1616package com .embabel .template ;
1717
18- import org .springframework .boot .SpringApplication ;
19- import org .springframework .boot .autoconfigure .SpringBootApplication ;
2018import com .embabel .agent .config .annotation .EnableAgentShell ;
2119import com .embabel .agent .config .annotation .LoggingTheme ;
20+ import org .springframework .boot .SpringApplication ;
21+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
2222
2323
2424@ SpringBootApplication
25- @ EnableAgentShell (loggingTheme = LoggingTheme .STARWARS )
25+ @ EnableAgentShell (loggingTheme = LoggingTheme .STAR_WARS )
2626class ProjectNameApplication {
2727 public static void main (String [] args ) {
2828 SpringApplication .run (ProjectNameApplication .class , args );
You can’t perform that action at this time.
0 commit comments