Skip to content

Commit

Permalink
Merge pull request #190 from couchbaselabs/error_handling
Browse files Browse the repository at this point in the history
fixes prompts
  • Loading branch information
deniswsrosa authored Apr 11, 2024
2 parents b8e6e36 + 5e02e12 commit 5d386f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void actionPerformed(@NotNull AnActionEvent e) {
if (ActiveCluster.getInstance().get() != null) {
CBShell.openNewTerminal();
} else {
Messages.showErrorDialog("You need to connecto to a cluster first before running CB Shell", "Couchbase Plugin Error");
Messages.showErrorDialog("You need to connect to a cluster first before running CB Shell", "Couchbase Plugin Error");
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/iq/intent_prompt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If you extracted any entities or identified actions or intents listed above, res

You have access to user cluster via the plugin.
If user asks a question about their cluster, always respond in the JSON format listed above.
If any additional information is needed, respond in the JSON format listed above.
If any additional information about their cluster is needed, respond in the JSON format listed above.
Do not EVER add any non-json text to your response with JSON.
Do not include more than three collections into your JSON response.
Do not promise the user to perform any actions on user's cluster.
Expand Down

0 comments on commit 5d386f8

Please sign in to comment.