#7

Fix @openreview mention handling and clarify AI Gateway usage

Openmarttpwants to merge intofrom

Summary

  • Add fallback pattern matching so both @openreview and the actual GitHub App slug trigger reviews
  • Add thread.subscribe() so follow-up mentions in the same thread are handled correctly
  • Update README:
    • remove ANTHROPIC_API_KEY from env vars
    • add Vercel billing prerequisite
    • clarify AI Gateway usage
    • document @your-app-slug option

Context

The Chat SDK's detectMention only matches @{app-slug}. If the GitHub App slug differs from openreview (e.g. my-openreview-bot), mentioning @openreview silently fails with "No handlers matched message."

Example PR that I logged my debug journey: https://github.com/marttp/20260315-demo-elysia-with-openreview/pull/1

Activity

5
vercel[bot]8mo ago

@marttp is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

shivamdev-lgtm7mo ago

+1 to this for the documentation changes. It is confusing right now for new users

marttp7mo ago

Hi @HugoRCD @huozhi Sorry for the direct ping, could you help review?