sturdy-dev / codereview.gpt

Reviews your Pull/Merge Requests using ChatGPT
MIT License
529 stars 63 forks source link

[Feature] Enable modification of the prompt in the UI #22

Open ryan-at-kettle opened 1 year ago

ryan-at-kettle commented 1 year ago

This is a development tool and should be written in a way that exposes all options to the user, rather than simplifying those options.

Allowing customization of the prompt and any logic associated with the prompt for each run would enable a greater depth of review:

nickveenhof commented 1 year ago

We're welcoming PRs! Looking forward to your contribution! :)

krlvi commented 1 year ago

I added a very similar functionality to summarize.site https://github.com/clmnin/summarize.site/pull/5 (which actually inspired me for doing this extension).

If you decide to build this, there's this https://developer.chrome.com/docs/extensions/mv3/options/

  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },

Or just ChatGPT it. Little known secret is that ChatGPT did all of the initial code for this extension 😅