Skip to content

Commit

Permalink
Patch Fix and Added new option in web command
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeyoYT committed Sep 8, 2024
1 parent ca76369 commit df4295e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/me/ailama/commands/WebCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public void handleCommand(SlashCommandInteractionEvent event) {
return;
}

// Improve the query if the option is provided
if(improveQuery) {
queryOption = OllamaManager.getInstance().createAssistantX(null).systemMessageProvider(o -> """
You are a helpful assistant! you will be given a query, you need to improve it for getting better search results, your
Expand Down

0 comments on commit df4295e

Please sign in to comment.