From ce6d1dfd1f2071419b24ab205120b316411e3f11 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 00:09:58 +0000 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4c4ee6c..0585ac0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +# Error Handling + +This tool includes error handling for two main scenarios: + +1. **OpenAI Downtime/Unresponsiveness**: Displays an error message if the OpenAI API is unavailable. +2. **Large Requests**: Aborts the commit process if the Git diff output size exceeds limits, instructing the user to reduce the size. + # ![GIT Hooks + OpenAI - Generate GIT commit messages from OpenAI](https://raw.githubusercontent.com/guibranco/dotnet-aicommitmessage/main/docs/images/splash.png) 🧠 🤖 This tool generates AI-powered commit messages via Git hooks, automating meaningful message suggestions from OpenAI and others to improve commit quality and efficiency.