I've created a Github action to provide code reviews as annotations to PRs [1], but it's providing some pretty odd feedback [2]. I'm not sure if it's my use of openai's functions[3], or my system prompt [4], or if gpt just isn't that good at isolated code reviews.
[1] https://github.com/marketplace/actions/chat-gpt-code-peer-review
[2] https://github.com/edelauna/discord-bot-ai/pull/74/files
[3] https://github.com/edelauna/gpt-review/blob/main/src/openai/utils/make-review.ts#L11
[4] https://github.com/edelauna/gpt-review/blob/main/src/openai/utils/message-manager.ts#L13