Some more AI generify updates
+ Update readme to ensure the review information is not OpenAI
specific.
+ Update the plugin workQueue to be named after the plugin, so
its called "ai-code-review request executor", and not overlap
and have it called "ChatGPT ...." which overlaps with the other
plugins it was forked from.
Change-Id: I31f6e46e1b8a6ab0b1177c3d384f5abb8efd4c63
diff --git a/README.md b/README.md
index 5a15bcf..5352e4e 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
## Features
This plugin allows you to use different AI Chat services, e.g. ChatGPT or OLLAMA for code review in Gerrit conveniently.
-After submitting a Patch Set, OpenAI will provide review feedback in the form of comments and, optionally, a vote.
+After submitting a Patch Set, the AI Service will provide review feedback in the form of comments and, optionally, a vote.
You can continue to ask the AI Chat by @{gerritUserName} or @{gerritEmailAddress} (provided that `gerritEmailAddress` is in
the form "gerritUserName@<any_email_domain>") in the comments to further guide it in generating more targeted review
comments.
diff --git a/src/main/java/com/googlesource/gerrit/plugins/aicodereview/listener/EventHandlerExecutor.java b/src/main/java/com/googlesource/gerrit/plugins/aicodereview/listener/EventHandlerExecutor.java
index 8efe7ed..365ff25 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/aicodereview/listener/EventHandlerExecutor.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/aicodereview/listener/EventHandlerExecutor.java
@@ -40,7 +40,7 @@
this.injector = injector;
int maximumPoolSize =
pluginConfigFactory.getFromGerritConfig(pluginName).getInt("maximumPoolSize", 2);
- this.executor = workQueue.createQueue(maximumPoolSize, "ChatGPT request executor");
+ this.executor = workQueue.createQueue(maximumPoolSize, pluginName + " request executor");
}
public void execute(Configuration config, Event event) {