openai_pipe icon indicating copy to clipboard operation
openai_pipe copied to clipboard

More detailed error message

Open slacksystem opened this issue 3 years ago • 0 comments

I'm trying to pipe git diff output into a longer prompt, and get the error "Unable to fetch response." I would like to figure out what's causing the error, but I also wanted to suggest that more detailed errors be displayed when a problem is run into.

Here is the full command (I'm also open to suggestions on the prompt, although it seems to work well with some diffs)

git diff --cached | openai_pipe write a detailed commit message for this diff. Include a title summarizing with no more than 50 characters, and name each changed file with a list of changes of that file below with brief bullet points, preceded by a hyphen and a space

slacksystem avatar Jan 28 '23 01:01 slacksystem