openai_pipe
openai_pipe copied to clipboard
More detailed error message
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