Skip to content

Conversation

SquidXTV
Copy link
Member

@SquidXTV SquidXTV commented Jan 31, 2024

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.

@SquidXTV SquidXTV requested review from a team as code owners January 31, 2024 15:05
@SquidXTV SquidXTV self-assigned this Jan 31, 2024
ankitsmt211
ankitsmt211 previously approved these changes Feb 2, 2024
Copy link
Member

@ankitsmt211 ankitsmt211 left a 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 👍

Zabuzard
Zabuzard previously approved these changes Feb 5, 2024
@SquidXTV
Copy link
Member Author

SquidXTV commented Feb 7, 2024

Why does it "redo" all commits if I just rebase?

Zabuzard
Zabuzard previously approved these changes Feb 8, 2024
@SquidXTV SquidXTV dismissed Zabuzard’s stale review February 8, 2024 10:43

The merge-base changed after approval.

@Zabuzard
Copy link
Member

Zabuzard commented Feb 8, 2024

@SquidXTV because a rebase rewrites the history (hence it requires a force-push).
i.e. you do not just add something "on top", but you changed something behind (namely your base). its not an "incremental change", history-wise

@SquidXTV SquidXTV force-pushed the feature/gpt-prevent-auto-answer-on-image branch from b8b8a48 to f29093d Compare February 15, 2024 21:08
Copy link
Member

@ankitsmt211 ankitsmt211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work 👍

@SquidXTV SquidXTV force-pushed the feature/gpt-prevent-auto-answer-on-image branch from 8b3b668 to 2c58eb8 Compare February 21, 2024 16:18
@SquidXTV SquidXTV force-pushed the feature/gpt-prevent-auto-answer-on-image branch from 2c58eb8 to f033325 Compare February 29, 2024 19:26
Copy link

Copy link
Contributor

@marko-radosavljevic marko-radosavljevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

@marko-radosavljevic marko-radosavljevic dismissed Alathreon’s stale review February 29, 2024 21:02

Reviews in question are resolved

@marko-radosavljevic marko-radosavljevic merged commit f809da4 into develop Feb 29, 2024
@marko-radosavljevic marko-radosavljevic deleted the feature/gpt-prevent-auto-answer-on-image branch February 29, 2024 21:02
Taz03 pushed a commit that referenced this pull request Mar 6, 2024
* 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
@SquidXTV SquidXTV mentioned this pull request Mar 6, 2024
Taz03 pushed a commit that referenced this pull request Mar 13, 2024
* 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
@ankitsmt211 ankitsmt211 mentioned this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ChatGPT Auto-Answer should not be posted when image
5 participants