Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingAPIKey = errors.New("missing OPENAI_API_KEY environment variable") ErrFailedToGetDiffs = errors.New("failed to get git diffs") ErrNoChangesInRepo = errors.New("no staged changes detected in the repository; use 'git add' to stage changes") ErrNoChangesAtAll = errors.New("no changes detected in the repository; make some changes before generating a commit message") ErrOpenAIFetchFailed = errors.New("failed to fetch response from OpenAI API") )
Functions ¶
func GenerateCommitMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.