Skip to content
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

feat: Add support for report_reaction endpoint #128

Conversation

ddharman-quora
Copy link
Contributor

  • This is to support message reactions launch. This will replace report_feedback which will be marked deprecated but still functional. Will update documentation around launch time
  • Tested end-to-end with server bot running locally and trying different reactions and verifying endpoint is called
  • Some formatting changes are in here since I ran all the recommended steps in the documentation
  • Updated version to 0.0.49

- This is to support message reactions launch. This will replace report_feedback which will be marked deprecated but still functional. Will update documentation around launch time
- Tested end-to-end with server bot running locally and trying different reactions and verifying endpoint is called
- Some formatting changes are in here since I ran all the recommended steps in the documentation
- Updated version to 0.0.49
@JelleZijlstra
Copy link
Contributor

Some formatting changes are in here since I ran all the recommended steps in the documentation

The tests are failing now because of formatting. Not sure what you ran, but running pre-commit run --all (after installing pre-commit in a virtual environment locally) should fix it.

@ddharman-quora
Copy link
Contributor Author

@JelleZijlstra Thanks! I have made the change.

Copy link
Contributor

@JelleZijlstra JelleZijlstra 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, but would like somebody from the owning team (maybe @krisyang1125) to take another look.

Copy link
Contributor

@krisyang1125 krisyang1125 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 and seems consistent with the change made to aiohttp_poe

@ddharman-quora ddharman-quora merged commit d6b0de8 into poe-platform:main Dec 4, 2024
20 checks passed
@ddharman-quora ddharman-quora deleted the reaction/add-report-reaction-support branch December 4, 2024 22:00
JohntheLi pushed a commit to JohntheLi/fastapi_poe that referenced this pull request Jan 6, 2025
* feat: Add support for report_reaction endpoint

- This is to support message reactions launch. This will replace report_feedback which will be marked deprecated but still functional. Will update documentation around launch time
- Tested end-to-end with server bot running locally and trying different reactions and verifying endpoint is called
- Some formatting changes are in here since I ran all the recommended steps in the documentation
- Updated version to 0.0.49

* Fix formatting errors by running pre-commit

* Remove on_reaction and only keep on_reaction_with_context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants