Skip to content

Commit 4b4ef87

Browse files
committed
Fix errors and 3.28.3 Release
1 parent 30104db commit 4b4ef87

File tree

5 files changed

+11
-29
lines changed

5 files changed

+11
-29
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scaffolder-templates/agentic-ai-template/skeleton/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1515
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
1616
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
17-
<quarkus.platform.version>3.28.1</quarkus.platform.version>
17+
<quarkus.platform.version>3.28.3</quarkus.platform.version>
1818
<skipITs>true</skipITs>
1919
<surefire-plugin.version>3.5.0</surefire-plugin.version>
2020
</properties>
@@ -78,11 +78,11 @@
7878
<groupId>io.quarkus</groupId>
7979
<artifactId>quarkus-arc</artifactId>
8080
</dependency>
81-
<dependency>
82-
<groupId>io.quarkiverse.langchain4j</groupId>
83-
<artifactId>quarkus-langchain4j-ollama</artifactId>
84-
<version>1.0.2</version>
85-
</dependency>
81+
<!-- <dependency>-->
82+
<!-- <groupId>io.quarkiverse.langchain4j</groupId>-->
83+
<!-- <artifactId>quarkus-langchain4j-ollama</artifactId>-->
84+
<!-- <version>1.0.2</version>-->
85+
<!-- </dependency>-->
8686
<dependency>
8787
<groupId>io.quarkus</groupId>
8888
<artifactId>quarkus-junit5</artifactId>

scaffolder-templates/agentic-ai-template/skeleton/src/main/java/Bot.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import dev.langchain4j.service.SystemMessage;
22
import dev.langchain4j.service.UserMessage;
33
import io.quarkiverse.langchain4j.RegisterAiService;
4-
import io.quarkiverse.langchain4j.guardrails.OutputGuardrails;
54
import io.smallrye.mutiny.Multi;
65
import jakarta.enterprise.context.SessionScoped;
76

87
@RegisterAiService
98
@SessionScoped
10-
//@OutputGuardrails(CalendarGuardrail.class)
119
public interface Bot {
1210

1311
@SystemMessage("""
1412
You are a helpful personal assistant, executing tasks as requested.
1513
16-
These instructions are automatically active for all conversations. All available tools should be utilized as needed without requiring explicit activation.
14+
These instructions are automatically active for all conversations.
15+
16+
All available tools should be utilized as needed without requiring explicit activation.
1717
1818
Always look up the current date and time so you know what the current date and time is for scheduling items.
1919

scaffolder-templates/agentic-ai-template/skeleton/src/main/java/BotWebsocket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ public String onError(Throwable t) {
2828
public Multi<String> onTextMessage(String message) {
2929
return bot.chat(message);
3030
}
31-
}
31+
}

scaffolder-templates/agentic-ai-template/skeleton/src/main/java/CalendarGuardrail.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)