-
-
Notifications
You must be signed in to change notification settings - Fork 99
ChatGPT Auto-Answer should not be posted when image #1018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatGPT Auto-Answer should not be posted when image #1018
Conversation
application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetections.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetections.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 👍
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetections.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkFilter.java
Outdated
Show resolved
Hide resolved
Why does it "redo" all commits if I just rebase? |
The merge-base changed after approval.
@SquidXTV because a rebase rewrites the history (hence it requires a force-push). |
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetections.java
Outdated
Show resolved
Hide resolved
b8b8a48
to
f29093d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work 👍
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetection.java
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/utils/LinkDetection.java
Show resolved
Hide resolved
8b3b668
to
2c58eb8
Compare
2c58eb8
to
f033325
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ❤️
Reviews in question are resolved
* Move link detection into separate class * Remove unused method and fix javadocs * Skip chatgpt response if message contains image or link * Fix sonarlint issues * Move fixing encoding issues to its own PR * Remove star import * Move context logic into custom method * Fix reviews * Fix reviews * Rename LinkDetections to LinkDetection
* Move link detection into separate class * Remove unused method and fix javadocs * Skip chatgpt response if message contains image or link * Fix sonarlint issues * Move fixing encoding issues to its own PR * Remove star import * Move context logic into custom method * Fix reviews * Fix reviews * Rename LinkDetections to LinkDetection
About
resolves #918
Skips generating an auto-answer if message contains images or links.
This is to prevent answers which miss context for ChatGPT to give a decent answer.